i965/disasm: Decode per-slot offsets.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 8 Apr 2016 20:52:30 +0000 (13:52 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Apr 2016 04:10:32 +0000 (21:10 -0700)
We just never bothered to decode this.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/mesa/drivers/dri/i965/brw_disasm.c

index 0848657871841281dedc0877c445c1f9f329c9a7..88bd7a499a71458327540c77b5c744a1b2d5bff6 100644 (file)
@@ -1517,6 +1517,11 @@ brw_disassemble_inst(FILE *file, const struct brw_device_info *devinfo,
                                              : gen5_urb_opcode,
                            opcode, &space);
 
+            if (devinfo->gen >= 7 &&
+                brw_inst_urb_per_slot_offset(devinfo, inst)) {
+               string(file, " per-slot");
+            }
+
             if (opcode == GEN8_URB_OPCODE_SIMD8_WRITE ||
                 opcode == GEN8_URB_OPCODE_SIMD8_READ) {
                if (brw_inst_urb_channel_mask_present(devinfo, inst))