• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3vec4 main() {
4    vec4 x = vec4(1.0, 1.0, 1.0, 1.0);
5    do {
6        x.x -= 0.25;
7        if (x.x <= 0.0) break;
8    } while (x.w == 1.0);
9    do {
10        x.z -= 0.25;
11        if (x.w == 1.0) continue;
12        x.y = 0.0;
13    } while (x.z > 0.0);
14    return x;
15}
16