blob: 74f73cbbb1bbf0ced83bb0513472ebe16300445f [file] [log] [blame]
uniform half4 input, expected;
uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
const half4 constVal = half4(1);
return (acos(input.x) == expected.x &&
acos(input.xy) == expected.xy &&
acos(input.xyz) == expected.xyz &&
acos(input.xyzw) == expected.xyzw &&
acos(constVal.x) == expected.x &&
acos(constVal.xy) == expected.xy &&
acos(constVal.xyz) == expected.xyz &&
acos(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
}