glsl: test globals are handled correctly across stage
This test verifies that the compiler properly handles globals used across multiple shaders of the same stage. This test exposes a bug in mesa where it incorrectly assumed w = y; was the only time y was dereferenced and so just set w directly leaving y unassigned.
Mesa bug report: mesa#10482 (closed)
Edited by Timothy Arceri