Initial implementation of high-level flow-control instructions.
authorBrian <brian@yutani.localnet.net>
Mon, 5 Feb 2007 22:00:07 +0000 (15:00 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 5 Feb 2007 22:00:07 +0000 (15:00 -0700)
commitcf92c727979e434d148b23d20f2e4e0f4bc4de61
tree4f4142ad5919f7684216ae580abb627878d958b0
parent5db088d70fbd14620c2fc7840096a05993f8e2b9
Initial implementation of high-level flow-control instructions.

IF/ELSE/ENDIF and BEGIN_LOOP/END_LOOP/BREAK instructions seem to work.
Disabled by default though until better tested.
Implemented IR_NOT, but needs optimization.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_ir.h
src/mesa/swrast/s_fragprog.c
src/mesa/tnl/t_vp_build.c