Closed prideout closed 3 years ago
If the Vulkan implementation does not allow descriptors with comparison samplers to be updated, then how can comparison samplers be used at all? The only way to populate a descriptor in Vulkan is with vkUpdateDescriptorSets.
You have to use an immutable sampler in this case. See VkDescriptorSetLayoutBinding.pImmutableSamplers.
If the Vulkan implementation does not allow descriptors with comparison samplers to be updated, then how can comparison samplers be used at all? The only way to populate a descriptor in Vulkan is with vkUpdateDescriptorSets.