diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_program.c b/src/gallium/drivers/freedreno/a2xx/fd2_program.c index 4749f2889a0..c2501cae1e7 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_program.c +++ b/src/gallium/drivers/freedreno/a2xx/fd2_program.c @@ -83,7 +83,7 @@ fd2_fp_state_create(struct pipe_context *pctx, ? cso->ir.nir : tgsi_to_nir(cso->tokens, pctx->screen, false); - NIR_PASS_V(so->nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, + NIR_PASS(_, so->nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, ir2_glsl_type_size, nir_lower_io_use_interpolated_input_intrinsics); @@ -122,7 +122,7 @@ fd2_vp_state_create(struct pipe_context *pctx, ? cso->ir.nir : tgsi_to_nir(cso->tokens, pctx->screen, false); - NIR_PASS_V(so->nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, + NIR_PASS(_, so->nir, nir_lower_io, nir_var_shader_in | nir_var_shader_out, ir2_glsl_type_size, (nir_lower_io_options)0); if (ir2_optimize_nir(so->nir, true)) diff --git a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c index 798bf665b0d..e4f5f907ff8 100644 --- a/src/gallium/drivers/freedreno/a2xx/ir2_nir.c +++ b/src/gallium/drivers/freedreno/a2xx/ir2_nir.c @@ -50,7 +50,7 @@ ir2_get_compiler_options(void) NIR_PASS(this_progress, nir, pass, ##__VA_ARGS__); \ this_progress; \ }) -#define OPT_V(nir, pass, ...) NIR_PASS_V(nir, pass, ##__VA_ARGS__) +#define OPT_V(nir, pass, ...) NIR_PASS(_, nir, pass, ##__VA_ARGS__) static void ir2_optimize_loop(nir_shader *s)