uniform half4 colorGreen, colorRed; struct S { int x, y; }; half4 main(float2 coords) { float f1[4] = float[4](1, 2, 3, 4); float f2[4] = float[4](1, 2, 3, 4); float f3[4] = float[4](1, 2, 3, -4); S s1[3] = S[3](S(1, 2), S(3, 4), S(5, 6)); S s2[3] = S[3](S(1, 2), S(0, 0), S(5, 6)); S s3[3] = S[3](S(1, 2), S(3, 4), S(5, 6)); return (f1 == f2) && (f1 != f3) && (s1 != s2) && (s3 == s1) ? colorGreen : colorRed; }