glsl: handle scope correctly in loops
This fixes 2 bug reports and one bug that hasn't been reported yet.
Piglit tests: piglit!569 (merged)
Edited by Timothy Arceri
This fixes 2 bug reports and one bug that hasn't been reported yet.
Piglit tests: piglit!569 (merged)