uniform half unknownInput; // 1 half4 main(float2 coords) { half r, g; (true ? r : g) = 1 - unknownInput; (false ? r : g) = unknownInput; return half4(r, g, 0, 1); }