Mesa (master): i965/disasm: Decode per-slot offsets.
Kenneth Graunke
kwg at kemper.freedesktop.org
Sun Apr 10 04:19:36 UTC 2016
Module: Mesa
Branch: master
Commit: ce84a92df54c738d2c248716f0f673247d50e1a7
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ce84a92df54c738d2c248716f0f673247d50e1a7
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Fri Apr 8 13:52:30 2016 -0700
i965/disasm: Decode per-slot offsets.
We just never bothered to decode this.
Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
---
src/mesa/drivers/dri/i965/brw_disasm.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index 0848657..88bd7a4 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -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))
More information about the mesa-commit
mailing list