1cb93a386Sopenharmony_ci/*#pragma settings AllowNarrowingConversions*/ 2cb93a386Sopenharmony_ci 3cb93a386Sopenharmony_ciuniform half4 colorGreen, colorRed; 4cb93a386Sopenharmony_ci 5cb93a386Sopenharmony_cihalf4 main(float2 coords) { 6cb93a386Sopenharmony_ci int i2[2] = int[2](1, 2); 7cb93a386Sopenharmony_ci short s2[2] = short[2](1, 2); 8cb93a386Sopenharmony_ci float f2[2] = float[2](1, 2); 9cb93a386Sopenharmony_ci half h2[2] = half[2](1, 2); 10cb93a386Sopenharmony_ci 11cb93a386Sopenharmony_ci i2 = s2; 12cb93a386Sopenharmony_ci s2 = i2; 13cb93a386Sopenharmony_ci f2 = h2; 14cb93a386Sopenharmony_ci h2 = f2; 15cb93a386Sopenharmony_ci 16cb93a386Sopenharmony_ci const int ci2[2] = int[2](1, 2); 17cb93a386Sopenharmony_ci const short cs2[2] = short[2](1, 2); 18cb93a386Sopenharmony_ci const float cf2[2] = float[2](1, 2); 19cb93a386Sopenharmony_ci const half ch2[2] = half[2](1, 2); 20cb93a386Sopenharmony_ci 21cb93a386Sopenharmony_ci return (i2 == s2 && f2 == h2 && ci2 == cs2 && cf2 == ch2 && i2 == cs2 && h2 == cf2) 22cb93a386Sopenharmony_ci ? colorGreen 23cb93a386Sopenharmony_ci : colorRed; 24cb93a386Sopenharmony_ci} 25