nir/opt_vectorize: Add a callback for filtering of vectorizing.
[mesa.git] / src / panfrost / midgard / midgard_compile.c
index a58701de75fbd9ac552da32afeab8ded29625ed1..bd13efd0ecad2618a94323fe0736f6e902dfa1c9 100644 (file)
@@ -558,7 +558,7 @@ optimise_nir(nir_shader *nir, unsigned quirks, bool is_blend)
                          nir_var_shader_out |
                          nir_var_function_temp);
 
-                NIR_PASS(progress, nir, nir_opt_vectorize);
+                NIR_PASS(progress, nir, nir_opt_vectorize, NULL, NULL);
         } while (progress);
 
         NIR_PASS_V(nir, nir_lower_alu_to_scalar, mdg_is_64, NULL);