radv: run nir_opt_move_load_ubo
Polaris10: SGPRS: 108560 -> 107856 (-0.65 %) VGPRS: 74576 -> 74520 (-0.08 %) Spilled SGPRs: 7375 -> 7113 (-3.55 %) Code Size: 4273464 -> 4274364 (0.02 %) bytes Max Waves: 9434 -> 9446 (0.13 %) Vega10: Totals from affected shaders: SGPRS: 108264 -> 107576 (-0.64 %) VGPRS: 69068 -> 69000 (-0.10 %) Spilled SGPRs: 7221 -> 6959 (-3.63 %) Code Size: 3800796 -> 3801496 (0.02 %) bytes Max Waves: 10687 -> 10709 (0.21 %) Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -152,6 +152,7 @@ radv_optimize_nir(struct nir_shader *shader)
|
||||
} while (progress);
|
||||
|
||||
NIR_PASS(progress, shader, nir_opt_shrink_load);
|
||||
NIR_PASS(progress, shader, nir_opt_move_load_ubo);
|
||||
}
|
||||
|
||||
nir_shader *
|
||||
|
Reference in New Issue
Block a user