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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41665>
This commit is contained in:
Emma Anholt 2026-05-18 16:20:28 -07:00 committed by Marge Bot
parent 6738fb88d3
commit 5acc764c82

View file

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