1uniform half4 testInputs; 2uniform half4 colorGreen, colorRed; 3 4half4 main(float2 coords) { 5 half4 expectedA = half4(-1.25, 0, 0.5, 0.5); 6 half4 expectedB = half4(-1.25, 0, 0, 1); 7 return (min(testInputs.x, 0.5) == expectedA.x && 8 min(testInputs.xy, 0.5) == expectedA.xy && 9 min(testInputs.xyz, 0.5) == expectedA.xyz && 10 min(testInputs.xyzw, 0.5) == expectedA.xyzw && 11 min(testInputs.x, colorGreen.x) == expectedB.x && 12 min(testInputs.xy, colorGreen.xy) == expectedB.xy && 13 min(testInputs.xyz, colorGreen.xyz) == expectedB.xyz && 14 min(testInputs.xyzw, colorGreen.xyzw) == expectedB.xyzw) ? colorGreen : colorRed; 15} 16