mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.
authorBrian Paul <brianp@vmware.com>
Tue, 22 Dec 2009 21:21:07 +0000 (14:21 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Dec 2009 21:26:06 +0000 (14:26 -0700)
commitddd9729bc37f4b1098ef940da6e723743db3ded8
tree25f61b9e18db234ae38796105dec8ae44359e038
parentdb721151b76611b75bcedfc90221ef5f92e8edeb
mesa: adjust OPCODE_IF/ELSE BranchTarget fields to point to ELSE/ENDIF instr.

This is a little more logical.  Suggested in bug report 25654.
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/shader/prog_execute.c
src/mesa/shader/slang/slang_emit.c