diff options
author | Brian <[email protected]> | 2007-02-08 14:10:54 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-08 14:10:54 -0700 |
commit | fbf0f400b743686ccdf78b927fd5de477d764a9d (patch) | |
tree | c48b84b7740b650971cab807a22cce2f3cc31781 /src/mesa/shader/slang/slang_emit.c | |
parent | 34af2b7194ad473c8ae20bcff933910f8386c3f0 (diff) |
fix broken BRA for return stmts
Diffstat (limited to 'src/mesa/shader/slang/slang_emit.c')
-rw-r--r-- | src/mesa/shader/slang/slang_emit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_emit.c b/src/mesa/shader/slang/slang_emit.c index d83880a26f2..e5727120267 100644 --- a/src/mesa/shader/slang/slang_emit.c +++ b/src/mesa/shader/slang/slang_emit.c @@ -487,6 +487,7 @@ new_instruction(struct gl_program *prog, gl_inst_opcode opcode) prog->NumInstructions++; _mesa_init_instructions(inst, 1); inst->Opcode = opcode; + inst->BranchTarget = -1; /* invalid */ return inst; } |