mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
brw: remove a redundant DCE
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39513>
This commit is contained in:
parent
5fe71dc717
commit
5409d872f7
1 changed files with 1 additions and 4 deletions
|
|
@ -2809,12 +2809,9 @@ brw_postprocess_nir_out_of_ssa(nir_shader *nir,
|
|||
}
|
||||
|
||||
OPT(nir_convert_from_ssa, true, true);
|
||||
|
||||
OPT(nir_opt_rematerialize_compares);
|
||||
OPT(nir_opt_dce);
|
||||
|
||||
if (OPT(nir_opt_rematerialize_compares))
|
||||
OPT(nir_opt_dce);
|
||||
|
||||
nir_trivialize_registers(nir);
|
||||
|
||||
nir_sweep(nir);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue