projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1b0f0
)
i965/disasm: Disassemble tdr and tm registers properly.
author
Matt Turner
<mattst88@gmail.com>
Mon, 3 Nov 2014 17:23:33 +0000
(09:23 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Tue, 2 Dec 2014 00:42:12 +0000
(16:42 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_disasm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_disasm.c
b/src/mesa/drivers/dri/i965/brw_disasm.c
index dd7bb4377f758364f52d4e2da7ff8695c8d5bc1e..7405d9bfd99e2dce1239395206cdd702464a0d27 100644
(file)
--- 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;