From 528f748dc61bca4c9b3da4891cfa46ab0efd636e Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Wed, 26 Nov 2025 12:11:52 -0500 Subject: [PATCH] pan/bi: Use nir_print_shader() instead of nir_log_shader() We're not using the mesa log functions for any of our back-end compiler stuff so we should make NIR log the same way. Reviewed-by: Christoph Pillmayer Reviewed-by: Lars-Ivar Hesselberg Simonsen Part-of: --- src/panfrost/compiler/bifrost/bifrost_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/compiler/bifrost/bifrost_compile.c b/src/panfrost/compiler/bifrost/bifrost_compile.c index 7dc391c1654..f79965147c1 100644 --- a/src/panfrost/compiler/bifrost/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost/bifrost_compile.c @@ -6726,7 +6726,7 @@ bi_compile_variant_nir(nir_shader *nir, skip_internal &= !(bifrost_debug & BIFROST_DBG_INTERNAL); if (bifrost_debug & BIFROST_DBG_SHADERS && !skip_internal) - nir_log_shaderi(nir); + nir_print_shader(nir, stderr); ctx->allocated_vec = _mesa_hash_table_u64_create(ctx);