blob: dc7d64ef09677759d87deb021e7e96b97bbc57b8 [file] [log] [blame]
out vec4 sk_FragColor;
uniform vec4 colorGreen;
uniform vec4 colorRed;
uniform float unknownInput;
bool return_on_both_sides() {
if (unknownInput == 1.0) return true; else return true;
}
bool for_inside_body() {
for (int x = 0;x <= 10; ++x) {
return true;
}
}
bool after_for_body() {
for (int x = 0;x <= 10; ++x) {
true;
}
return true;
}
bool for_with_double_sided_conditional_return() {
for (int x = 0;x <= 10; ++x) {
if (unknownInput == 1.0) return true; else return true;
}
}
bool if_else_chain() {
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;
}
vec4 main() {
return ((((true && return_on_both_sides()) && for_inside_body()) && after_for_body()) && for_with_double_sided_conditional_return()) && if_else_chain() ? colorGreen : colorRed;
}