summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2024-03-01 17:27:10 -0800
committerMarge Bot <emma+marge@anholt.net>2024-04-04 23:42:27 +0000
commit24cdbbdaa206100fa2ec78e3560769c3e211bcaa (patch)
tree5ba5249160e61a64877671226dfedcdf5cdf5ce9
parent44fb57b82709a3ef653d5ee71d557f62d173ed05 (diff)
intel/brw: Delete stray nir_opt_dce
No shader-db or fossil-db changes on any Intel platform. Fixes: f76f4be301e ("intel/compiler: move gen5 final pass to actually be final pass") Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28136>
-rw-r--r--src/intel/compiler/brw_nir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index 31b0255c3b5..2e2014ec7a9 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -1820,8 +1820,6 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler,
if (OPT(nir_opt_rematerialize_compares))
OPT(nir_opt_dce);
- OPT(nir_opt_dce);
-
/* The mesh stages require this pass to be called at the last minute,
* but if anything is done by it, it will also constant fold, and that
* undoes the work done by nir_trivialize_registers, so call it right