mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 11:08:17 +02:00
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:
parent
6738fb88d3
commit
5acc764c82
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue