diff --git a/src/gallium/drivers/svga/svga_pipe_cs.c b/src/gallium/drivers/svga/svga_pipe_cs.c index f3432cac0a4..996cd6e16ee 100644 --- a/src/gallium/drivers/svga/svga_pipe_cs.c +++ b/src/gallium/drivers/svga/svga_pipe_cs.c @@ -41,7 +41,7 @@ svga_create_compute_state(struct pipe_context *pipe, assert(templ->ir_type == PIPE_SHADER_IR_NIR); /* nir_to_tgsi requires lowered images */ - NIR_PASS_V(nir, gl_nir_lower_images, false); + NIR_PASS(_, nir, gl_nir_lower_images, false); cs->base.tokens = nir_to_tgsi((void *)nir, pipe->screen); diff --git a/src/gallium/drivers/svga/svga_shader.c b/src/gallium/drivers/svga/svga_shader.c index 01a8d556a0f..f928d6bbeef 100644 --- a/src/gallium/drivers/svga/svga_shader.c +++ b/src/gallium/drivers/svga/svga_shader.c @@ -932,7 +932,7 @@ svga_create_shader(struct pipe_context *pipe, .keep_double_immediates = true, }; /* nir_to_tgsi requires lowered images */ - NIR_PASS_V(nir, gl_nir_lower_images, false); + NIR_PASS(_, nir, gl_nir_lower_images, false); shader->tokens = nir_to_tgsi_options(nir, pipe->screen, &ntt_options); } else { shader->tokens = pipe_shader_state_to_tgsi_tokens(pipe->screen, templ);