[RFC PATCH 15/17] eir: make use of eir_nir_lower_alu_to_scalar(..)
Christian Gmeiner
christian.gmeiner at gmail.com
Fri May 10 09:09:13 UTC 2019
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
src/etnaviv/compiler/eir_nir.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/etnaviv/compiler/eir_nir.c b/src/etnaviv/compiler/eir_nir.c
index 6e75f2c5fd8..a579037a667 100644
--- a/src/etnaviv/compiler/eir_nir.c
+++ b/src/etnaviv/compiler/eir_nir.c
@@ -102,6 +102,8 @@ eir_optimize_nir(struct nir_shader *s)
OPT_V(s, nir_lower_global_vars_to_local);
OPT_V(s, nir_lower_regs_to_ssa);
+ OPT_V(s, eir_nir_lower_alu_to_scalar);
+
OPT_V(s, nir_opt_algebraic);
eir_optimize_loop(s);
--
2.21.0
More information about the etnaviv
mailing list