1uniform half f;
2uniform int i;
3uniform bool b;
4
5half4 main(float2 xy) {
6    // Covers float -> bool, bool -> float, int -> float
7    half x = bool(f) ? half(b) : half(i);
8
9    // Covers int -> bool, bool -> int, float -> int
10    int y = bool(i) ? int(b) : int(f);
11
12    return half4(x) * half(y);
13}
14