Mesa (master): r600: for memory instructions dump index gpr for read indirects also.
Dave Airlie
airlied at kemper.freedesktop.org
Mon Jun 26 06:29:20 UTC 2017
Module: Mesa
Branch: master
Commit: 043f16eba1ed1c4614570e8a6a312767e203e1a1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=043f16eba1ed1c4614570e8a6a312767e203e1a1
Author: Dave Airlie <airlied at redhat.com>
Date: Thu Mar 31 16:13:35 2016 +1000
r600: for memory instructions dump index gpr for read indirects also.
This just makes sure we can see the index gpr in the asm dumps.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/gallium/drivers/r600/r600_asm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index 9761fe0b8d..e0de645c2e 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -2145,7 +2145,8 @@ void r600_bytecode_disasm(struct r600_bytecode *bc)
o += print_swizzle(7);
}
- if (cf->output.type == V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_WRITE_IND)
+ if (cf->output.type == V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_WRITE_IND ||
+ cf->output.type == V_SQ_CF_ALLOC_EXPORT_WORD0_SQ_EXPORT_READ_IND)
o += fprintf(stderr, " R%d", cf->output.index_gpr);
o += print_indent(o, 67);
More information about the mesa-commit
mailing list