1uniform half4 colorGreen, colorRed;
2
3half4 main(float2 coords) {
4    bool ok = true;
5    ok = ok && (half4(int4(0, 0, 1, 2)) == half4(int4(half4(0.01, 0.99, 1.49, 2.75))));
6    ok = ok && (half4(int4(0, 0, -1, -2)) == half4(int4(half4(-0.01, -0.99, -1.49, -2.75))));
7
8    return ok ? colorGreen : colorRed;
9}
10