mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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:
parent
29f2566542
commit
0c1d5e4114
2 changed files with 3 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue