mesa: do scope replacement for while/for loops too
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 1 Nov 2008 21:55:39 +0000 (15:55 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 1 Nov 2008 22:03:03 +0000 (16:03 -0600)
commite9bc632d829f38e5b15c2cdbaaa61caffb02f8c8
treefb27932af3cf780883a30a765547205b64393944
parent58936b51af5806a5c260a30e961a37c77bdbdd17
mesa: do scope replacement for while/for loops too

This fixes a function inlining bug involving vars declared inside loop bodies.
src/mesa/shader/slang/slang_compile_operation.c