From 0dd73981b22766cdca0f96ae4365c2b5257b95ae Mon Sep 17 00:00:00 2001 From: Christoph Pillmayer Date: Mon, 7 Jul 2025 12:24:32 +0000 Subject: [PATCH] panvk: Fix IUB desc type check Fixes: 2ec6527c70a0 ("panvk: Implement VK_EXT_inline_uniform_block") Reviewed-by: John Anthony Part-of: --- src/panfrost/vulkan/panvk_vX_descriptor_set_layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {