undo some debugging hacks
authorBrian <brian@yutani.localnet.net>
Mon, 26 Mar 2007 21:09:59 +0000 (15:09 -0600)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Mar 2007 21:09:59 +0000 (15:09 -0600)
src/mesa/shader/slang/slang_emit.c

index b318402e31ae1d42446942b7345bb4dc259791e8..77470aca154cfaf76ce9a48e277b95b61402971f 100644 (file)
@@ -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);