i965/vec4: add support for printing DF immediates
authorConnor Abbott <connor.w.abbott@intel.com>
Thu, 13 Aug 2015 21:18:04 +0000 (14:18 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 3 Jan 2017 10:26:50 +0000 (11:26 +0100)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_vec4.cpp

index d42bcd9..bf36cac 100644 (file)
@@ -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;