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
|
@ -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…
Reference in New Issue