nir: allow specifying filter callback in lower_alu_to_scalar
[mesa.git] / src / freedreno / ir3 / ir3_nir.c
index 05426bc7a0ec9fa551d42bcd9433dc7ba0015951..50a961f2bad56d108f16a94473cf9769b030d0e8 100644 (file)
@@ -124,7 +124,7 @@ ir3_optimize_loop(nir_shader *s)
                OPT_V(s, nir_lower_vars_to_ssa);
                progress |= OPT(s, nir_opt_copy_prop_vars);
                progress |= OPT(s, nir_opt_dead_write_vars);
-               progress |= OPT(s, nir_lower_alu_to_scalar, NULL);
+               progress |= OPT(s, nir_lower_alu_to_scalar, NULL, NULL);
                progress |= OPT(s, nir_lower_phis_to_scalar);
 
                progress |= OPT(s, nir_copy_prop);