summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-08-04 22:35:01 -0700
committerKenneth Graunke <[email protected]>2013-08-12 13:13:04 -0700
commitee7bfab06805bff508c31b3ad3fb13d181f3fbf1 (patch)
tree70f8c2e20ae6f40a7aca9e1916cfc507efa61e2a
parent80e1c2f35f76562a6a62cfa630edaf97e6d6f227 (diff)
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 <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
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(" ");