pan/mdg: Print writeout sources in mir_print_instruction

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5065>
This commit is contained in:
Icecream95 2020-06-06 15:36:22 +12:00 committed by Marge Bot
parent d37e901e35
commit deaef1df15

View file

@ -307,6 +307,16 @@ mir_print_instruction(midgard_instruction *ins)
else
printf("true");
if (ins->writeout) {
printf(" (c: ");
PRINT_SRC(ins, 0);
printf(", z: ");
PRINT_SRC(ins, 2);
printf(", s: ");
PRINT_SRC(ins, 3);
printf(")");
}
if (ins->branch.target_type != TARGET_DISCARD)
printf(" %s -> block(%d)\n",
ins->branch.target_type < 4 ?