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 <christoph.pillmayer@arm.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39244>
This commit is contained in:
Faith Ekstrand 2025-11-26 12:11:52 -05:00 committed by Marge Bot
parent bed2055efd
commit 528f748dc6

View file

@ -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);