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:
Alyssa Rosenzweig 2025-11-17 15:21:00 -05:00 committed by Caio Oliveira
parent 5fe71dc717
commit 5409d872f7

View file

@ -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);