nak: Don't use deprecated NIR_PASS_V macro anymore.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33609>
This commit is contained in:
Timur Kristóf 2025-02-18 17:33:48 +01:00
parent d74d316f60
commit 2540e45e1a
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
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__)
bool
nak_nir_workgroup_has_one_subgroup(const nir_shader *nir)

View file

@ -401,7 +401,7 @@ nak_nir_lower_fs_inputs(nir_shader *nir,
.nak = nak,
.fs_key = fs_key,
};
NIR_PASS_V(nir, nir_shader_intrinsics_pass, lower_fs_input_intrin,
NIR_PASS(_, nir, nir_shader_intrinsics_pass, lower_fs_input_intrin,
nir_metadata_control_flow,
(void *)&fs_in_ctx);