From a2c8b5ece5790825dba951c35e4c5aab003e3217 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Thu, 11 Feb 2016 19:03:56 +1300 Subject: i965: ir: dump floats as %-g rather than %f, so we can see denormals Signed-off-by: Chris Forbes Reviewed-by: Ben Widawsky --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3