From 5acc764c8260a5bb2b79b582fd4292882f7c3d16 Mon Sep 17 00:00:00 2001 From: Emma Anholt Date: Mon, 18 May 2026 16:20:28 -0700 Subject: [PATCH] ir3: If we're dumping IR3_SHADER_BISECT=[hash] disasm, include the NIR. This helped me parse what was going on in No Man's Sky more easily. Part-of: --- src/freedreno/ir3/ir3_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/freedreno/ir3/ir3_context.c b/src/freedreno/ir3/ir3_context.c index 3c05db88300..0d47caba187 100644 --- a/src/freedreno/ir3/ir3_context.c +++ b/src/freedreno/ir3/ir3_context.c @@ -183,7 +183,8 @@ ir3_context_init(struct ir3_compiler *compiler, struct ir3_shader *shader, } } - if (shader_debug_enabled(so->type, ctx->s->info.internal)) { + if (shader_debug_enabled(so->type, ctx->s->info.internal) || + ir3_shader_bisect_disasm_select(so)) { mesa_logi("NIR (final form) for %s shader %s:", ir3_shader_stage(so), so->name); nir_log_shaderi(ctx->s);