mesa: fix some function inlining bugs
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 15 Jul 2008 19:25:57 +0000 (13:25 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 15 Jul 2008 19:29:25 +0000 (13:29 -0600)
commitf6152c35101311c2b128eb23b25b3f38d9e8b5be
tree5954adf19ff894e7225e997bc1c9535ef5eb63bc
parentbc4b1ca5636e68a6e6b0e3f88e9ff6b888837656
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