radeonsi: vectorize UBO, SSBO and shared across blocks

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39373>
This commit is contained in:
Daniel Schürmann 2026-01-30 17:35:41 +01:00 committed by Marge Bot
parent b859aa7dce
commit 52a5b29497

View file

@ -1098,6 +1098,7 @@ static void si_postprocess_nir(struct si_nir_shader_ctx *ctx)
&(nir_load_store_vectorize_options){
.modes = nir_var_mem_ssbo | nir_var_mem_ubo | nir_var_mem_shared | nir_var_mem_global |
nir_var_shader_temp,
.bounds_checked_modes = nir_var_mem_ssbo | nir_var_mem_ubo | nir_var_mem_shared,
.callback = ac_nir_mem_vectorize_callback,
.cb_data = &(struct ac_nir_config){sel->screen->info.gfx_level, sel->info.base.use_aco_amd},
.has_shared2_amd = true,