vk_graphics_pipeline: Fix copy paste error

This commit is contained in:
IndecisiveTurtle 2024-08-30 00:59:12 +03:00
parent 75486bf2f4
commit 7c84ac23b0

View file

@ -322,7 +322,7 @@ void GraphicsPipeline::BuildDescSetLayout() {
.descriptorType = tex_buffer.is_written ? vk::DescriptorType::eStorageTexelBuffer
: vk::DescriptorType::eUniformTexelBuffer,
.descriptorCount = 1,
.stageFlags = vk::ShaderStageFlagBits::eCompute,
.stageFlags = vk::ShaderStageFlagBits::eVertex | vk::ShaderStageFlagBits::eFragment,
});
}
for (const auto& image : stage->images) {