mesa: fix some function inlining bugs
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 29 Jul 2008 23:05:54 +0000 (17:05 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 29 Jul 2008 23:05:54 +0000 (17:05 -0600)
commit153407f72d3492f9d35e2424bb877def8b1a1dcd
treef9afee20c821990f07b4ecec487c0a5c013d4c26
parent527e1357b59a476348b5fd2600fb99e85cc4e897
mesa: fix some function inlining bugs

Need to add local vars of original function to the new scope's variable
list (though the DECLs were already present).
In slang_operation_copy() call slang_replace_scope() for SLANG_OPER_BLOCK_NEW_SCOPE opers.
src/mesa/shader/slang/slang_codegen.c
src/mesa/shader/slang/slang_compile_operation.c
src/mesa/shader/slang/slang_compile_operation.h
src/mesa/shader/slang/slang_compile_variable.h