1uniform half4 colorGreen, colorRed;
2uniform half unknownInput; // = 1
3
4bool simple() {
5    return true;
6}
7
8bool return_on_both_sides() {
9    if (unknownInput == 1) return true; else return true;
10}
11
12bool for_inside_body() {
13    for (int x=0; x<=10; ++x) { return true; }
14}
15
16bool after_for_body() {
17    for (int x=0; x<=10; ++x) { simple(); }
18    return true;
19}
20
21bool for_with_double_sided_conditional_return() {
22    for (int x=0; x<=10; ++x) {
23        if (unknownInput == 1) return true; else return true;
24    }
25}
26
27bool if_else_chain() {
28    if (unknownInput == 1)
29        return true;
30    else if (unknownInput == 2)
31        return false;
32    else if (unknownInput == 3)
33        return true;
34    else if (unknownInput == 4)
35        return false;
36    else
37        return true;
38}
39
40half4 main(float2 coords) {
41    return  simple() &&
42            return_on_both_sides() &&
43            for_inside_body() &&
44            after_for_body() &&
45            for_with_double_sided_conditional_return() &&
46            if_else_chain() ? colorGreen : colorRed;
47}
48