Removed unnecessary binding.

This commit is contained in:
reneruhr 2023-07-10 15:37:00 +03:00 committed by GitHub
parent b82ee755c5
commit 187fc810ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -430,11 +430,6 @@ public:
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
VK_SHADER_STAGE_FRAGMENT_BIT,
1));
// Binding 2 : Fragment shader image sampler
setLayoutBindings.push_back(vks::initializers::descriptorSetLayoutBinding(
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
VK_SHADER_STAGE_FRAGMENT_BIT,
2));
// Shaded layouts (only use first layout binding)
descriptorLayoutInfo = vks::initializers::descriptorSetLayoutCreateInfo(setLayoutBindings.data(), 1);