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