/*#pragma settings AllowNarrowingConversions*/ uniform half4 colorGreen, colorRed; half4 main(float2 coords) { int i2[2] = int[2](1, 2); short s2[2] = short[2](1, 2); float f2[2] = float[2](1, 2); half h2[2] = half[2](1, 2); return (i2 == s2 && f2 == h2) ? colorGreen : colorRed; }