From 3b5d5c072a2e57c3a0b395711eba0cad52fa4aaa Mon Sep 17 00:00:00 2001 From: Benjamin Lee Date: Mon, 24 Feb 2025 20:34:00 -0800 Subject: [PATCH] panfrost: remove NIR_PASS_V usage for noperspective lowering The rest of the NIR_PASS_V usage in panfrost was dropped in 34beb93635620da237d0fc56ab485ec2138e1ca4, but this one was added in an MR that was merged after. Signed-off-by: Benjamin Lee Fixes: 081438ad397 ("panfrost: add nir pass to lower noperspective varyings") Reviewed-by: Iago Toral Quiroga Reviewed-by: Boris Brezillon Reviewed-by: Mary Guillemard Part-of: --- src/panfrost/compiler/bifrost_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index bc51b071599..be91788642e 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -5536,9 +5536,9 @@ bifrost_preprocess_nir(nir_shader *nir, unsigned gpu_id) glsl_type_size, nir_lower_io_use_interpolated_input_intrinsics); if (nir->info.stage == MESA_SHADER_VERTEX) - NIR_PASS_V(nir, pan_nir_lower_noperspective_vs); + NIR_PASS(_, nir, pan_nir_lower_noperspective_vs); if (nir->info.stage == MESA_SHADER_FRAGMENT) - NIR_PASS_V(nir, pan_nir_lower_noperspective_fs); + NIR_PASS(_, nir, pan_nir_lower_noperspective_fs); /* nir_lower[_explicit]_io is lazy and emits mul+add chains even for * offsets it could figure out are constant. Do some constant folding