projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intel/nir: Run copy-prop and DCE after lower_bool_to_int32
[mesa.git]
/
src
/
intel
/
compiler
/
brw_nir.c
diff --git
a/src/intel/compiler/brw_nir.c
b/src/intel/compiler/brw_nir.c
index 9e8ae3b52a1fa4e2824903285640b8e1cf81ce12..25395747c13d94cfe68914195b1ff90ea3d7708e 100644
(file)
--- a/
src/intel/compiler/brw_nir.c
+++ b/
src/intel/compiler/brw_nir.c
@@
-927,6
+927,8
@@
brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler,
OPT(nir_opt_move, nir_move_comparisons);
OPT(nir_lower_bool_to_int32);
+ OPT(nir_copy_prop);
+ OPT(nir_opt_dce);
OPT(nir_lower_locals_to_regs);