Re-implement branching with slang_labels.
authorBrian <brian@yutani.localnet.net>
Fri, 23 Feb 2007 16:38:17 +0000 (09:38 -0700)
committerBrian <brian@yutani.localnet.net>
Fri, 23 Feb 2007 16:38:17 +0000 (09:38 -0700)
commitafbf7c7e6b7613d8d219807adaf7d17971ac2e6d
treecc11a86f7d0f831f80b2f507f507a0832b55142a
parentd8d07b2a8aa5cf9c5ce877b20351983b1aa8d01d
Re-implement branching with slang_labels.

This eliminates the NOP instructions that had been used as placeholders for
branch targets.
Also, fix "return" statement bug.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile_function.h
src/mesa/shader/slang/slang_compile_operation.h
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_ir.h
src/mesa/shader/slang/slang_link.c