1void main() { 2 float sum = 0.0; 3 while (true) { 4 sum += 0.1; 5 if (sum > 0.8) 6 break; 7 } 8 gl_FragColor = vec4(sum); 9} 10