KhronosGroup / Vulkan-Portability

Apache License 2.0
40 stars 4 forks source link

mutableComparisonSamplers is unclear #15

Closed prideout closed 3 years ago

prideout commented 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.

danginsburg commented 3 years ago

You have to use an immutable sampler in this case. See VkDescriptorSetLayoutBinding.pImmutableSamplers.