mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 00:30:11 +01:00
freedreno/ir3/print: print left/right neighbors too
When debugging compiler, this is useful to see. Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
0667962103
commit
6e04020dd7
1 changed files with 14 additions and 0 deletions
|
|
@ -175,6 +175,20 @@ print_instr(struct ir3_instruction *instr, int lvl)
|
|||
printf("]");
|
||||
}
|
||||
|
||||
if (instr->cp.left) {
|
||||
printf(", left=_");
|
||||
printf("[");
|
||||
print_instr_name(instr->cp.left);
|
||||
printf("]");
|
||||
}
|
||||
|
||||
if (instr->cp.right) {
|
||||
printf(", right=_");
|
||||
printf("[");
|
||||
print_instr_name(instr->cp.right);
|
||||
printf("]");
|
||||
}
|
||||
|
||||
if (is_meta(instr)) {
|
||||
if (instr->opc == OPC_META_FO) {
|
||||
printf(", off=%d", instr->fo.off);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue