nir/opt_vectorize: Add a callback for filtering of vectorizing.
[mesa.git] / src / gallium / drivers / r600 / r600_shader.c
index b7dab54daab55a795b84a6a2727a392015173017..9ac0efad7e466532d60a7c6fa824586a2e2e200e 100644 (file)
@@ -201,7 +201,7 @@ int r600_pipe_shader_create(struct pipe_context *ctx,
                                NIR_PASS_V(sel->nir, nir_lower_regs_to_ssa);
                                NIR_PASS_V(sel->nir, nir_lower_alu_to_scalar, NULL, NULL);
                                NIR_PASS_V(sel->nir, nir_lower_int64);
-                               NIR_PASS_V(sel->nir, nir_opt_vectorize);
+                               NIR_PASS_V(sel->nir, nir_opt_vectorize, NULL, NULL);
                        }
                        NIR_PASS_V(sel->nir, nir_lower_flrp, ~0, false, false);
                }