projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e508155
)
undo some debugging hacks
author
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 21:09:59 +0000
(15:09 -0600)
committer
Brian
<brian@yutani.localnet.net>
Mon, 26 Mar 2007 21:09:59 +0000
(15:09 -0600)
src/mesa/shader/slang/slang_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_emit.c
b/src/mesa/shader/slang/slang_emit.c
index b318402e31ae1d42446942b7345bb4dc259791e8..77470aca154cfaf76ce9a48e277b95b61402971f 100644
(file)
--- a/
src/mesa/shader/slang/slang_emit.c
+++ b/
src/mesa/shader/slang/slang_emit.c
@@
-1554,8
+1554,8
@@
_slang_emit_code(slang_ir_node *n, slang_var_table *vt,
emitInfo.prog = prog;
emitInfo.EmitHighLevelInstructions = ctx->Shader.EmitHighLevelInstructions;
- emitInfo.EmitCondCodes =
0; /* XXX temporary! */
- emitInfo.EmitComments =
1 +
ctx->Shader.EmitComments;
+ emitInfo.EmitCondCodes =
ctx->Shader.EmitCondCodes;
+ emitInfo.EmitComments = ctx->Shader.EmitComments;
(void) emit(&emitInfo, n);