ir2: Remove NIR_PASS_V usage

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Reviewed-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35478>
This commit is contained in:
Christian Gmeiner 2025-06-11 23:02:57 +02:00 committed by Marge Bot
parent 29f2566542
commit 0c1d5e4114
2 changed files with 3 additions and 3 deletions

View file

@ -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))

View file

@ -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)