vk_graphics_pipeline: Fix copy paste error

This commit is contained in:
IndecisiveTurtle 2024-08-30 00:59:12 +03:00
parent cf706f8cc7
commit cb5190e31a
1 changed files with 1 additions and 1 deletions

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) {