From 187fc810ac8a91f30e7bbae2219c9484d947d6b9 Mon Sep 17 00:00:00 2001 From: reneruhr Date: Mon, 10 Jul 2023 15:37:00 +0300 Subject: [PATCH] Removed unnecessary binding. --- examples/offscreen/offscreen.cpp | 5 ----- 1 file changed, 5 deletions(-) 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);