nir: allow specifying filter callback in lower_alu_to_scalar
[mesa.git] / src / panfrost / bifrost / bifrost_compile.c
index 5e34b95d30836dd5ceb9f0915cbae1a8b7686ab4..2af36ee86681573b2365532efccc79cc6d20481d 100644 (file)
@@ -57,7 +57,7 @@ optimize_nir(nir_shader *nir)
                 NIR_PASS(progress, nir, nir_opt_constant_folding);
 
                 NIR_PASS(progress, nir, nir_lower_vars_to_ssa);
-                NIR_PASS(progress, nir, nir_lower_alu_to_scalar, NULL);
+                NIR_PASS(progress, nir, nir_lower_alu_to_scalar, NULL, NULL);
                 NIR_PASS(progress, nir, nir_opt_if, true);
 
         } while (progress);