mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
radeonsi: use nir_opt_shrink_vectors
It reduces VGPR usage, but the impact is almost none. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34432>
This commit is contained in:
parent
b7eff9cd87
commit
177427877b
1 changed files with 1 additions and 0 deletions
|
|
@ -114,6 +114,7 @@ void si_nir_opts(struct si_screen *sscreen, struct nir_shader *nir, bool has_arr
|
|||
}
|
||||
|
||||
NIR_PASS(progress, nir, nir_opt_undef);
|
||||
NIR_PASS(progress, nir, nir_opt_shrink_vectors, true);
|
||||
|
||||
nir_opt_peephole_select_options peephole_discard_options = {
|
||||
.limit = 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue