• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4uniform vec4 colorRed;
5uniform float unknownInput;
6bool return_on_both_sides_b() {
7    if (unknownInput == 1.0) return true; else return true;
8}
9bool for_inside_body_b() {
10    for (int x = 0;x <= 10; ++x) {
11        return true;
12    }
13}
14bool after_for_body_b() {
15    for (int x = 0;x <= 10; ++x) {
16        true;
17    }
18    return true;
19}
20bool for_with_double_sided_conditional_return_b() {
21    for (int x = 0;x <= 10; ++x) {
22        if (unknownInput == 1.0) return true; else return true;
23    }
24}
25bool if_else_chain_b() {
26    if (unknownInput == 1.0) return true; else if (unknownInput == 2.0) return false; else if (unknownInput == 3.0) return true; else if (unknownInput == 4.0) return false; else return true;
27}
28vec4 main() {
29    return ((((true && return_on_both_sides_b()) && for_inside_body_b()) && after_for_body_b()) && for_with_double_sided_conditional_return_b()) && if_else_chain_b() ? colorGreen : colorRed;
30}
31