From e863acb318c437844b3aa56d4ff611ab6689ebf9 Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Fri, 26 Jul 2024 10:32:35 +0200 Subject: [PATCH] panvk: Pass attrib_buf_idx_offset to desc_copy_info This was missing from the original fix and was causing MMU falults on "dEQP-VK.memory.pipeline_barrier.host_write_uniform_texel_buffer.*". Fixes: cec45cac846 ("panvk: Fix image support in vertex jobs") Signed-off-by: Mary Guillemard Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/vulkan/bifrost/panvk_vX_meta_desc_copy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panfrost/vulkan/bifrost/panvk_vX_meta_desc_copy.c b/src/panfrost/vulkan/bifrost/panvk_vX_meta_desc_copy.c index a2349d989a6..661f10a4866 100644 --- a/src/panfrost/vulkan/bifrost/panvk_vX_meta_desc_copy.c +++ b/src/panfrost/vulkan/bifrost/panvk_vX_meta_desc_copy.c @@ -312,8 +312,7 @@ panvk_per_arch(meta_get_copy_desc_job)( .img_attrib_table = shader_desc_state->img_attrib_table, .desc_copy = { .table = copy_table, - .attrib_buf_idx_offset = - shader->info.stage == MESA_SHADER_VERTEX ? MAX_VS_ATTRIBS : 0, + .attrib_buf_idx_offset = attrib_buf_idx_offset, }, };