diff --git a/examples/offscreen/offscreen.cpp b/examples/offscreen/offscreen.cpp index 4a8cc7c0..6c96bf34 100644 --- a/examples/offscreen/offscreen.cpp +++ b/examples/offscreen/offscreen.cpp @@ -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);