nir: allow specifying filter callback in lower_alu_to_scalar
[mesa.git] / src / gallium / auxiliary / nir / tgsi_to_nir.c
index 20d6c0bfb29a3e49f7e51b44944a1e56f57f1866..eae2ef058d27341b48b0fe544686a3232b1d9ab4 100644 (file)
@@ -2559,7 +2559,7 @@ ttn_optimize_nir(nir_shader *nir, bool scalar)
       NIR_PASS_V(nir, nir_lower_vars_to_ssa);
 
       if (scalar) {
-         NIR_PASS_V(nir, nir_lower_alu_to_scalar, NULL);
+         NIR_PASS_V(nir, nir_lower_alu_to_scalar, NULL, NULL);
          NIR_PASS_V(nir, nir_lower_phis_to_scalar);
       }