radv: shrink shared arrays
Foz-DB Navi21: Totals from 2 (0.00% of 80255) affected shaders: No stat changes. Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26388>
This commit is contained in:
@@ -168,7 +168,7 @@ radv_optimize_nir(struct nir_shader *shader, bool optimize_conservatively)
|
||||
progress = false;
|
||||
|
||||
NIR_LOOP_PASS(progress, skip, shader, nir_split_array_vars, nir_var_function_temp);
|
||||
NIR_LOOP_PASS(progress, skip, shader, nir_shrink_vec_array_vars, nir_var_function_temp);
|
||||
NIR_LOOP_PASS(progress, skip, shader, nir_shrink_vec_array_vars, nir_var_function_temp | nir_var_mem_shared);
|
||||
|
||||
if (!shader->info.var_copies_lowered) {
|
||||
/* Only run this pass if nir_lower_var_copies was not called
|
||||
|
||||
Reference in New Issue
Block a user