mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
pan/bi: Print flow control on instructions
This helps debug the flow control lowering passes on Valhall. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16804>
This commit is contained in:
parent
c0180f6bd3
commit
82b1897900
1 changed files with 3 additions and 0 deletions
|
|
@ -180,6 +180,9 @@ bi_print_instr(const bi_instr *I, FILE *fp)
|
|||
if (I->table)
|
||||
fprintf(fp, ".table%u", I->table);
|
||||
|
||||
if (I->flow)
|
||||
fprintf(fp, ".flow%u", I->flow);
|
||||
|
||||
if (I->op == BI_OPCODE_COLLECT_I32) {
|
||||
for (unsigned i = 0; i < I->nr_srcs; ++i) {
|
||||
if (i > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue