mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
ir3: print block divergence info
Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29409>
This commit is contained in:
parent
ec19a354dc
commit
a13394ad91
1 changed files with 3 additions and 0 deletions
|
|
@ -548,6 +548,9 @@ print_block(struct ir3_block *block, int lvl)
|
|||
if (block->successors[1]) {
|
||||
mesa_log_stream_printf(stream, ", block%u",
|
||||
block_id(block->successors[1]));
|
||||
|
||||
mesa_log_stream_printf(stream, " (%s)",
|
||||
block->divergent_condition ? "div" : "con");
|
||||
}
|
||||
mesa_log_stream_printf(stream, " */\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue