summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-11-03 09:23:33 -0800
committerMatt Turner <[email protected]>2014-12-01 16:42:12 -0800
commit937ddb419da28992eb7cc516459281758ff6b720 (patch)
tree3966789beb029e1c473c15df0d7f442015e8fc3d /src/mesa
parentcd1b0f04be041fa1750cac332d5539c48a3f272d (diff)
i965/disasm: Disassemble tdr and tm registers properly.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_disasm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
index dd7bb4377f7..7405d9bfd99 100644
--- a/src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/src/mesa/drivers/dri/i965/brw_disasm.c
@@ -697,6 +697,12 @@ reg(FILE *file, unsigned _reg_file, unsigned _reg_nr)
string(file, "ip");
return -1;
break;
+ case BRW_ARF_TDR:
+ format(file, "tdr0");
+ return -1;
+ case BRW_ARF_TIMESTAMP:
+ format(file, "tm%d", _reg_nr & 0x0f);
+ break;
default:
format(file, "ARF%d", _reg_nr);
break;