summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-08-03 15:00:51 -0700
committerSamuel Iglesias Gonsálvez <[email protected]>2016-05-10 11:25:05 +0200
commita308bae58f3e2dabd2ffaec98c1f91c9abf7a9f8 (patch)
tree96eec460fd1e42d14fc5ad3787288a3957b306fb /src/mesa/drivers
parent0f2e227d5ce6de4697ba94ed57f5ff7ca2d86f69 (diff)
i965/fs: add support for printing double immediates
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index ce3e00b484a..b02f1dc0b91 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -4913,6 +4913,9 @@ fs_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
case BRW_REGISTER_TYPE_F:
fprintf(file, "%-gf", inst->src[i].f);
break;
+ case BRW_REGISTER_TYPE_DF:
+ fprintf(file, "%fdf", inst->src[i].df);
+ break;
case BRW_REGISTER_TYPE_W:
case BRW_REGISTER_TYPE_D:
fprintf(file, "%dd", inst->src[i].d);