blob: fcf7dba10c7a2c37b95a24ac466e334b4d75a5c1 [file] [log] [blame]
uniform half4 colorRed, colorGreen;
bool test() {
bool a = 1 == 1 || 2 == 8;
bool b = 1 > 1 || 2 == 8;
bool c = 1 == 1 && 2 <= 8;
bool d = 1 == 2 && 2 == 8;
bool e = 1 == 1 ^^ 1 != 1;
bool f = 1 == 1 ^^ 1 == 1;
bool g = true == true;
bool h = false == true;
bool i = true == !false;
bool j = false == !false;
return a && !b && c && !d && e && !f && g && !h && i && !j;
}
half4 main(float2 coords) {
return test() ? colorGreen : colorRed;
}