Implement CONT, improve BRK.
authorBrian <brian@nostromo.localnet.net>
Wed, 7 Feb 2007 05:31:19 +0000 (22:31 -0700)
committerBrian <brian@nostromo.localnet.net>
Wed, 7 Feb 2007 05:31:19 +0000 (22:31 -0700)
commitf22ed0986a743e033d827c78371612c7115ff913
treec9df47eeb7033ebdc2b5b596737bd14b24f41c9d
parent5f7d4668c4b7de1c0d2269809d30aef6d0a089e9
Implement CONT, improve BRK.

IR_LOOP's BranchNode ptr is the head of a linked list of CONT and BRK nodes.
After emitting loop, walk over the linked list, filling in the CONT/BRK
instruction's BranchTarget field (location of the ENDLOOP instruction, or
one past).
src/mesa/shader/prog_print.c
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c
src/mesa/swrast/s_fragprog.c