1uniform half4 colorRed, colorGreen; 2 3bool test() { 4 const int x [3] = int[3](1, 2, 3); 5 const int xx[3] = int[3](1, 2, 3); 6 const int y [3] = int[3](1, 2, 4); 7 8 return (x == xx) && !(x != xx) && (x != y) && !(x == y); 9} 10 11half4 main(float2 coords) { 12 return test() ? colorGreen : colorRed; 13} 14 15