From 29f25665423bd5dadd556d80c110dc9af75be00b Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Wed, 11 Jun 2025 23:24:02 +0200 Subject: [PATCH] st/mesa: Remove NIR_PASS_V usage Signed-off-by: Christian Gmeiner Reviewed-by: Alyssa Rosenzweig Part-of: --- src/mesa/state_tracker/st_glsl_to_nir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp b/src/mesa/state_tracker/st_glsl_to_nir.cpp index a5c519d9275..db3f0b9d603 100644 --- a/src/mesa/state_tracker/st_glsl_to_nir.cpp +++ b/src/mesa/state_tracker/st_glsl_to_nir.cpp @@ -476,8 +476,8 @@ st_link_glsl_to_nir(struct gl_context *ctx, /* Since IO is lowered, we won't need the IO variables from now on. * nir_build_program_resource_list was the last pass that needed them. */ - NIR_PASS_V(nir, nir_remove_dead_variables, - nir_var_shader_in | nir_var_shader_out, NULL); + NIR_PASS(_, nir, nir_remove_dead_variables, + nir_var_shader_in | nir_var_shader_out, NULL); /* If there are forms of indirect addressing that the driver * cannot handle, perform the lowering pass.