mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
radv: Call nir_opt_dead_cf in radv_optimize_nir_algebraic.
In case lowering passes added dead CF. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28408>
This commit is contained in:
parent
315cacddbd
commit
476a42c02c
1 changed files with 1 additions and 0 deletions
|
|
@ -201,6 +201,7 @@ radv_optimize_nir_algebraic(nir_shader *nir, bool opt_offsets)
|
|||
NIR_PASS(_, nir, nir_opt_constant_folding);
|
||||
NIR_PASS(_, nir, nir_opt_cse);
|
||||
NIR_PASS(more_algebraic, nir, nir_opt_algebraic);
|
||||
NIR_PASS(_, nir, nir_opt_dead_cf);
|
||||
}
|
||||
|
||||
if (opt_offsets) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue