uniform float unknownInput; half4 main() { @switch (int(unknownInput)) { case 1: return half4(1); default: return half4(0); } }