projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80e1c2f
)
i965/fs: Remove extraneous newline in dump_instruction() for CMP.
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 5 Aug 2013 05:35:01 +0000
(22:35 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 12 Aug 2013 20:13:04 +0000
(13:13 -0700)
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 <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f404b0b2be225d3ac16b4c1d4d5b42b6c2e7a594..c2d89ef1a193600133fa16ba19b4425f4ead2843 100644
(file)
--- 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(" ");