Mesa (master): freedreno/ir3: make high regs easier to see in IR dumps

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 24 20:38:19 UTC 2019


Module: Mesa
Branch: master
Commit: 49ab94694d73e719e348c0112d7e2bd74e486738
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=49ab94694d73e719e348c0112d7e2bd74e486738

Author: Rob Clark <robdclark at chromium.org>
Date:   Tue Oct 15 16:28:50 2019 -0700

freedreno/ir3: make high regs easier to see in IR dumps

Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg at google.com>

---

 src/freedreno/ir3/ir3_print.c | 2 ++
 1 file changed, 2 insertions(+)

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("]");




More information about the mesa-commit mailing list