mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
r300: add some more nir cleanup compiler passes
We need this to prevent some regressions in the later commits. Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Reviewed-by: Filip Gawin <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33066>
This commit is contained in:
parent
e832bc1ae5
commit
ca70270a5e
1 changed files with 2 additions and 0 deletions
|
|
@ -2345,6 +2345,8 @@ nir_to_rc(struct nir_shader *s, struct pipe_screen *screen,
|
|||
}
|
||||
NIR_PASS_V(s, r300_nir_opt_algebraic_late);
|
||||
NIR_PASS_V(s, nir_opt_dce);
|
||||
NIR_PASS_V(s, nir_opt_shrink_vectors, false);
|
||||
NIR_PASS_V(s, nir_opt_dce);
|
||||
|
||||
nir_move_options move_all = nir_move_const_undef | nir_move_load_ubo | nir_move_load_input |
|
||||
nir_move_comparisons | nir_move_copies | nir_move_load_ssbo;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue