summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-10-15 16:28:50 -0700
committerRob Clark <[email protected]>2019-10-24 13:08:56 -0700
commit49ab94694d73e719e348c0112d7e2bd74e486738 (patch)
tree5f30b9da4dbf9e110a940ad73fcd7045da8f22c7
parent0f395f09336056caf954c48fcdd39705519c6af8 (diff)
freedreno/ir3: make high regs easier to see in IR dumps
Signed-off-by: Rob Clark <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
-rw-r--r--src/freedreno/ir3/ir3_print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_print.c b/src/freedreno/ir3/ir3_print.c
index 63bb5b16f7a..fb69388f090 100644
--- a/src/freedreno/ir3/ir3_print.c
+++ b/src/freedreno/ir3/ir3_print.c
@@ -116,6 +116,8 @@ static void print_reg_name(struct ir3_register *reg)
}
printf("]");
} else if (reg->flags & IR3_REG_SSA) {
+ if (reg->flags & IR3_REG_HIGH)
+ printf("H");
printf("_[");
print_instr_name(reg->instr);
printf("]");