vulkan: fix texture descriptor type in descriptor pools.

This commit is contained in:
Sasha Szpakowski
2025-01-26 17:29:18 -04:00
parent 5c63a945b8
commit a53d68b723
+1 -1
View File
@@ -57,7 +57,7 @@ SharedDescriptorPools::SharedDescriptorPools(VkDevice device, int dynamicUniform
if (sampledTextures > 0)
{
size.type = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE;
size.type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
size.descriptorCount = sampledTextures;
descriptorPoolSizes.push_back(size);
}