Checkpoint: implementing true CAL/RET instructions for subroutine calls.
authorBrian <brian@yutani.localnet.net>
Tue, 27 Mar 2007 00:46:07 +0000 (18:46 -0600)
committerBrian <brian@yutani.localnet.net>
Tue, 27 Mar 2007 00:46:07 +0000 (18:46 -0600)
commit9878e8ff516486900228429f26b37cb01cd7313f
treef5c516c3ca9f8659e8790444299ea9293f52e807
parent6583429f89df1b6838c5405bd32e5ef30bdf163f
Checkpoint: implementing true CAL/RET instructions for subroutine calls.

Also, found/fixed a code generation regression:  the emit_swizzle() function
was always returning NULL.  This caused emit_move() to miss its chance at peephole
optimization.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile_operation.h
src/mesa/shader/slang/slang_emit.c
src/mesa/shader/slang/slang_ir.h