summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-26 15:09:59 -0600
committerBrian <[email protected]>2007-03-26 15:09:59 -0600
commitc3da0bd7dde9febf206efac88bb67e98dfc90baa (patch)
treef46e640bf45695b5ee3c781a3f3da4a02fb887c3 /src
parente508155d1658571244aeb981dd42e452417d4af4 (diff)
undo some debugging hacks
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_emit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c
index b318402e31a..77470aca154 100644
--- 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);