Fixed descriptor set binding point index
This commit is contained in:
parent
fb3d6ef847
commit
b6da703b3b
1 changed files with 1 additions and 1 deletions
|
|
@ -1163,7 +1163,7 @@ struct VulkanExample
|
||||||
vkTools::initializers::writeDescriptorSet(
|
vkTools::initializers::writeDescriptorSet(
|
||||||
descriptorSet,
|
descriptorSet,
|
||||||
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
|
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,
|
||||||
1,
|
0,
|
||||||
&texDescriptor));
|
&texDescriptor));
|
||||||
|
|
||||||
vkUpdateDescriptorSets(device, writeDescriptorSets.size(), writeDescriptorSets.data(), 0, NULL);
|
vkUpdateDescriptorSets(device, writeDescriptorSets.size(), writeDescriptorSets.data(), 0, NULL);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue