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:05:40 +0000 (16:05 -0600)
commitb625a0a47524de1b2968f9bf6a23ae0102726b5a
tree19b5d903598b355759c4a6c98c7fa3c7d5ed530a
parent3d0d803313b624065e6549b1635d61e1162487ee
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