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: cec45cac84 ("panvk: Fix image support in vertex jobs")
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30378>
(cherry picked from commit e863acb318)
This commit is contained in:
Mary Guillemard 2024-07-26 10:32:35 +02:00 committed by Eric Engestrom
parent e1c783720f
commit c31af2145c
2 changed files with 2 additions and 3 deletions

View file

@ -1134,7 +1134,7 @@
"description": "panvk: Pass attrib_buf_idx_offset to desc_copy_info",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "cec45cac846385425772f9431fb0fd707be5e547",
"notes": null

View file

@ -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,
},
};