[Mesa-dev] [PATCH v2 008/103] i965/vec4: add support for printing DF immediates

Iago Toral Quiroga itoral at igalia.com
Tue Oct 11 09:01:12 UTC 2016


From: Connor Abbott <connor.w.abbott at intel.com>

Reviewed-by: Francisco Jerez <currojerez at riseup.net>
---
 src/mesa/drivers/dri/i965/brw_vec4.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 6aa9102..c29cfb5 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;
-- 
2.7.4



More information about the mesa-dev mailing list