i965/fs: add support for printing double immediates
authorConnor Abbott <connor.w.abbott@intel.com>
Mon, 3 Aug 2015 22:00:51 +0000 (15:00 -0700)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Tue, 10 May 2016 09:25:05 +0000 (11:25 +0200)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

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