projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2abf03
)
i965: Disassemble vector float immediates properly.
author
Matt Turner
<mattst88@gmail.com>
Sun, 9 Mar 2014 01:18:26 +0000
(17:18 -0800)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 26 Nov 2014 01:29:02 +0000
(17:29 -0800)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
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 e235fd47e626dff2bddcf767a39a1660e4610d4e..dd7bb4377f758364f52d4e2da7ff8695c8d5bc1e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_disasm.c
+++ b/
src/mesa/drivers/dri/i965/brw_disasm.c
@@
-1025,7
+1025,11
@@
imm(FILE *file, struct brw_context *brw, unsigned type, brw_inst *inst)
format(file, "0x%08xUV", brw_inst_imm_ud(brw, inst));
break;
case BRW_HW_REG_IMM_TYPE_VF:
- format(file, "Vector Float");
+ format(file, "[%-gF, %-gF, %-gF, %-gF]VF",
+ brw_vf_to_float(brw_inst_imm_ud(brw, inst)),
+ brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 8),
+ brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 16),
+ brw_vf_to_float(brw_inst_imm_ud(brw, inst) >> 24));
break;
case BRW_HW_REG_IMM_TYPE_V:
format(file, "0x%08xV", brw_inst_imm_ud(brw, inst));