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