1uniform half4 colorGreen, colorRed; 2 3struct S { 4 int x, y; 5}; 6 7half4 main(float2 coords) { 8 float f1[4] = float[4](1, 2, 3, 4); 9 float f2[4] = float[4](1, 2, 3, 4); 10 float f3[4] = float[4](1, 2, 3, -4); 11 12 S s1[3] = S[3](S(1, 2), S(3, 4), S(5, 6)); 13 S s2[3] = S[3](S(1, 2), S(0, 0), S(5, 6)); 14 S s3[3] = S[3](S(1, 2), S(3, 4), S(5, 6)); 15 16 return (f1 == f2) && (f1 != f3) && (s1 != s2) && (s3 == s1) ? colorGreen : colorRed; 17} 18