From ee7bfab06805bff508c31b3ad3fb13d181f3fbf1 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Sun, 4 Aug 2013 22:35:01 -0700 Subject: [PATCH] i965/fs: Remove extraneous newline in dump_instruction() for CMP. This resulted in printouts like: 246: cmp.cmod.f0.0 ???, vgrf152, 0.000000f, (null), With this patch, CMP is properly printed on one line. Signed-off-by: Kenneth Graunke Reviewed-by: Matt Turner --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index f404b0b2be2..c2d89ef1a19 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2704,7 +2704,7 @@ fs_visitor::dump_instruction(backend_instruction *be_inst) (brw->gen < 5 || (inst->opcode != BRW_OPCODE_SEL && inst->opcode != BRW_OPCODE_IF && inst->opcode != BRW_OPCODE_WHILE))) { - printf(".f0.%d\n", inst->flag_subreg); + printf(".f0.%d", inst->flag_subreg); } } printf(" "); -- 2.30.2