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