diff --git a/src/panfrost/vulkan/panvk_vX_descriptor_set_layout.c b/src/panfrost/vulkan/panvk_vX_descriptor_set_layout.c index a12280826a7..940b983d5fb 100644 --- a/src/panfrost/vulkan/panvk_vX_descriptor_set_layout.c +++ b/src/panfrost/vulkan/panvk_vX_descriptor_set_layout.c @@ -157,7 +157,7 @@ panvk_per_arch(CreateDescriptorSetLayout)( binding_layout->flags = binding_flags_info->pBindingFlags[i]; } - if (binding_layout->type & VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { + if (binding_layout->type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) { binding_layout->desc_count = panvk_get_iub_desc_count(binding->descriptorCount); } else {