summaryrefslogtreecommitdiffstats
path: root/progs/fpglsl/dowhile2.glsl
blob: f3e00b8e865432f952a53867f0ac947e9138cb52 (plain)
1
2
3
4
5
6
7
8
9
10
void main() {
    float sum = 0.0;
    do {
	sum += 0.1;
	if (sum < 0.499999)
	    continue;
	break;
    } while (true);
    gl_FragColor = vec4(sum);
}