From c3da0bd7dde9febf206efac88bb67e98dfc90baa Mon Sep 17 00:00:00 2001 From: Brian Date: Mon, 26 Mar 2007 15:09:59 -0600 Subject: [PATCH] undo some debugging hacks --- src/mesa/shader/slang/slang_emit.c | 4 ++-- 1 file 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); -- 2.30.2