Merge pull request #1048 from reneruhr/offscreen
Removed unnecessary binding.
This commit is contained in:
commit
c2cee9654c
1 changed files with 0 additions and 5 deletions
|
|
@ -430,11 +430,6 @@ public:
|
||||||
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
|
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
|
||||||
VK_SHADER_STAGE_FRAGMENT_BIT,
|
VK_SHADER_STAGE_FRAGMENT_BIT,
|
||||||
1));
|
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)
|
// Shaded layouts (only use first layout binding)
|
||||||
descriptorLayoutInfo = vks::initializers::descriptorSetLayoutCreateInfo(setLayoutBindings.data(), 1);
|
descriptorLayoutInfo = vks::initializers::descriptorSetLayoutCreateInfo(setLayoutBindings.data(), 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue