#include #include using namespace metal; constant float4 _44 = {}; struct main0_out { float4 FragColor [[color(0)]]; }; struct main0_in { int counter [[user(locn0)]]; }; fragment main0_out main0(main0_in in [[stage_in]]) { main0_out out = {}; float4 _45; _45 = _44; float4 _46; for (;;) { if (in.counter == 10) { _46 = float4(10.0); break; } else { _46 = float4(30.0); break; } } out.FragColor = _46; return out; }