mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
radeonsi,aco: Run ac_nir_lower_global_access pass
This allows rusticl to run under radeonsi when using ACO Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11179 Signed-off-by: Mike Lothian <mike@fireburn.co.uk> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29280>
This commit is contained in:
parent
46644ba371
commit
d2e80e57a3
1 changed files with 2 additions and 0 deletions
|
|
@ -2385,6 +2385,8 @@ struct nir_shader *si_get_nir_shader(struct si_shader *shader,
|
|||
NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_function_temp, NULL);
|
||||
NIR_PASS(progress, nir, nir_opt_large_constants, glsl_get_natural_size_align_bytes, 16);
|
||||
|
||||
NIR_PASS(progress, nir, ac_nir_lower_global_access);
|
||||
|
||||
/* Loop unrolling caused by uniform inlining can help eliminate indirect indexing, so
|
||||
* this should be done after that.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue