panvk: Fix IUB desc type check

Fixes: 2ec6527c70 ("panvk: Implement VK_EXT_inline_uniform_block")

Reviewed-by: John Anthony <john.anthony@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35969>
This commit is contained in:
Christoph Pillmayer
2025-07-07 12:24:32 +00:00
committed by Marge Bot
parent 56d758d321
commit 0dd73981b2
@@ -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 {