Files
third_party_mesa3d/progs/fpglsl/while2.glsl
2010-03-10 16:32:07 -05:00

10 lines
146 B
GLSL

void main() {
float sum = 0.0;
while (true) {
sum += 0.1;
if (sum > 0.8)
break;
}
gl_FragColor = vec4(sum);
}