r600: for memory instructions dump index gpr for read indirects also.
authorDave Airlie <airlied@redhat.com>
Thu, 31 Mar 2016 06:13:35 +0000 (16:13 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 26 Jun 2017 06:23:21 +0000 (16:23 +1000)
This just makes sure we can see the index gpr in the asm dumps.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c

index 9761fe0b8df34dafac79b647efa1486a269abd61..e0de645c2e3d38a0201452dcb8a1815193f31325 100644 (file)
@@ -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);