summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-07-17 15:55:05 -0700
committerKenneth Graunke <[email protected]>2014-07-21 11:19:17 -0700
commitcaf8c07dd40b26ae3f4b8f1bf4ff26bd226a3b7b (patch)
tree158a283e838ee0ed9e575bd461b002592d2b2fae /src/mesa/drivers
parent662f1ccc248c5f978b67b63276b0b0b00f5f68ca (diff)
i965/disasm: Don't disassemble the URB complete field on Broadwell.
It doesn't exist, so attempting to read it will trigger generation assertions in the brw_inst API. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index d7362c16c28..f66865fc4d1 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -1410,8 +1410,10 @@ brw_disassemble_inst(FILE *file, struct brw_context *brw, brw_inst *inst,
err |= control(file, "urb used", urb_used,
brw_inst_urb_used(brw, inst), &space);
}
- err |= control(file, "urb complete", urb_complete,
- brw_inst_urb_complete(brw, inst), &space);
+ if (brw->gen < 8) {
+ err |= control(file, "urb complete", urb_complete,
+ brw_inst_urb_complete(brw, inst), &space);
+ }
break;
case BRW_SFID_THREAD_SPAWNER:
break;