projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f36070
)
i965: ir: dump floats as %-g rather than %f, so we can see denormals
author
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 11 Feb 2016 06:03:56 +0000
(19:03 +1300)
committer
Ben Widawsky
<benjamin.widawsky@intel.com>
Thu, 11 Feb 2016 20:10:29 +0000
(12:10 -0800)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 0ce7ed1562bdc5137cf2fd7328a973f39d19b6c9..7620858e36ef47192bc01125ee5a6835a6489f04 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-4739,7
+4739,7
@@
fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
case IMM:
switch (inst->src[i].type) {
case BRW_REGISTER_TYPE_F:
- fprintf(file, "%
f
f", inst->src[i].f);
+ fprintf(file, "%
-g
f", inst->src[i].f);
break;
case BRW_REGISTER_TYPE_W:
case BRW_REGISTER_TYPE_D: