summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_disasm.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-11-03 09:23:33 -0800
committerMatt Turner <mattst88@gmail.com>2014-12-01 16:42:12 -0800
commit937ddb419da28992eb7cc516459281758ff6b720 (patch)
tree3966789beb029e1c473c15df0d7f442015e8fc3d /src/mesa/drivers/dri/i965/brw_disasm.c
parentcd1b0f04be041fa1750cac332d5539c48a3f272d (diff)
downloadexternal_mesa3d-937ddb419da28992eb7cc516459281758ff6b720.zip
external_mesa3d-937ddb419da28992eb7cc516459281758ff6b720.tar.gz
external_mesa3d-937ddb419da28992eb7cc516459281758ff6b720.tar.bz2
i965/disasm: Disassemble tdr and tm registers properly.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_disasm.c')
-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 dd7bb43..7405d9b 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;