summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor Abbott <[email protected]>2015-08-13 14:18:04 -0700
committerSamuel Iglesias Gonsálvez <[email protected]>2017-01-03 11:26:50 +0100
commit2d6eee3144ce16b39909522be466bdb3871f4c1b (patch)
tree34a6334161e65982adbdbee14e56ad3352425e45
parent9ce4b20bde4f4ca8e8907fcac13e8bb9d7e5f4b4 (diff)
i965/vec4: add support for printing DF immediates
Reviewed-by: Francisco Jerez <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index d42bcd989da..bf36cacb0b7 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -1517,6 +1517,9 @@ vec4_visitor::dump_instruction(backend_instruction *be_inst, FILE *file)
case BRW_REGISTER_TYPE_F:
fprintf(file, "%fF", inst->src[i].f);
break;
+ case BRW_REGISTER_TYPE_DF:
+ fprintf(file, "%fDF", inst->src[i].df);
+ break;
case BRW_REGISTER_TYPE_D:
fprintf(file, "%dD", inst->src[i].d);
break;