1uniform half4 colorWhite;
2
3half4 main(float2 coords) {
4    half4 x = colorWhite;
5
6    // Verify that break is allowed in a for loop.
7    for (half r = -5; r < 5; r += 1) {
8        x.r = saturate(r);
9        if (x.r == 0) break;
10    }
11
12    // Verify that continue is allowed in a for loop.
13    for (half b = 5; b >= 0; b -= 1) {
14        x.b = b;
15        if (x.a == 1) continue; // should always happen
16        x.g = 0;
17    }
18
19    // x contains green.
20    return x;
21}
22