blob: 3f8887f4957d24fa81c775a08bce6112052b85d4 [file] [log] [blame]
uniform vec4 colorGreen;
uniform vec4 colorRed;
vec4 main() {
bool ok = true;
ok = ok && colorGreen.y >= colorGreen.x;
ok = ok && colorGreen.y > colorGreen.x;
ok = ok && colorGreen.z <= colorGreen.y;
ok = ok && colorGreen.z < colorGreen.y;
ok = ok && colorGreen.y >= colorGreen.w;
ok = ok && colorGreen.x <= colorGreen.z;
ok = ok && colorGreen.y != colorGreen.x;
ok = ok && colorGreen.y == colorGreen.w;
return ok ? colorGreen : colorRed;
}