From d02b1893f104717fde8c73ef771feb0a1e15696c Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Tue, 22 Jul 2025 18:31:17 +0200 Subject: [PATCH] llvmpipe: use NIR_PASS(_, ...) for nir_lower_fragcolor Reviewed-by: Emma Anholt Reviewed-by: Konstantin Seurer Part-of: --- src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index a7259d75e34..654af717b6c 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -4036,7 +4036,7 @@ llvmpipe_create_fs_state(struct pipe_context *pipe, /* lower FRAG_RESULT_COLOR -> DATA[0-7] to correctly handle unused attachments */ nir_shader *nir = shader->base.ir.nir; - NIR_PASS_V(nir, nir_lower_fragcolor, nir->info.fs.color_is_dual_source ? 1 : 8); + NIR_PASS(_, nir, nir_lower_fragcolor, nir->info.fs.color_is_dual_source ? 1 : 8); nir_shader_gather_info(nir, nir_shader_get_entrypoint(nir)); nir_tgsi_scan_shader(nir, &shader->info.base, true);