1 #version 130 2 3 void main() 4 { 5 float foo; 6 float undefinedThenDefined; 7 8 foo = undefinedThenDefined; 9 undefinedThenDefined = 2.0; 10 foo = undefinedThenDefined; 11 } 12 13