From 5aba96d4acebb649501890be9b18cc8bdf739be7 Mon Sep 17 00:00:00 2001 From: Mary Guillemard Date: Thu, 14 Aug 2025 08:48:20 +0000 Subject: [PATCH] pan/bi: Stop exposing bifrost_nir_lower_load_output Unused outside of pan/bi and also remove orphan bifrost_nir_lower_xfb declaration. Signed-off-by: Mary Guillemard Reviewed-by: Olivia Lee Part-of: --- src/panfrost/compiler/bifrost_compile.c | 2 +- src/panfrost/compiler/bifrost_nir.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index 194d9b05f55..76b97117974 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -5834,7 +5834,7 @@ bi_lower_subgroups(nir_builder *b, nir_intrinsic_instr *intr, void *data) return true; } -bool +static bool bifrost_nir_lower_load_output(nir_shader *nir) { assert(nir->info.stage == MESA_SHADER_FRAGMENT); diff --git a/src/panfrost/compiler/bifrost_nir.h b/src/panfrost/compiler/bifrost_nir.h index d2dcb4fe98d..a1738a2eeec 100644 --- a/src/panfrost/compiler/bifrost_nir.h +++ b/src/panfrost/compiler/bifrost_nir.h @@ -26,6 +26,4 @@ #include "nir_builder.h" bool bifrost_nir_lower_algebraic_late(nir_shader *shader, unsigned gpu_arch); -bool bifrost_nir_lower_xfb(nir_shader *shader); bool bifrost_nir_opt_boolean_bitwise(nir_shader *shader); -bool bifrost_nir_lower_load_output(nir_shader *nir);