diff options
author | Chris Forbes <[email protected]> | 2016-02-11 19:03:56 +1300 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2016-02-11 12:10:29 -0800 |
commit | a2c8b5ece5790825dba951c35e4c5aab003e3217 (patch) | |
tree | a01fa993ce006a84662ae76b9f413f1830960ae2 /src/mesa | |
parent | 9f36070c2fe248058f31559119a6bf6b68a7144e (diff) |
i965: ir: dump floats as %-g rather than %f, so we can see denormals
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 0ce7ed1562b..7620858e36e 100644 --- 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, "%ff", inst->src[i].f); + fprintf(file, "%-gf", inst->src[i].f); break; case BRW_REGISTER_TYPE_W: case BRW_REGISTER_TYPE_D: |