From: Connor Abbott Date: Mon, 3 Aug 2015 22:00:51 +0000 (-0700) Subject: i965/fs: add support for printing double immediates X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a308bae58f3e2dabd2ffaec98c1f91c9abf7a9f8;p=mesa.git i965/fs: add support for printing double immediates Reviewed-by: Kenneth Graunke --- 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);