#pragma clang diagnostic ignored "-Wmissing-prototypes" #include #include using namespace metal; struct SSBO1 { uint values1[1]; }; struct SSBO0 { uint values0[1]; }; static inline __attribute__((always_inline)) void callee2(device SSBO1& _14, thread float4& gl_FragCoord) { int _25 = int(gl_FragCoord.x); _14.values1[_25]++; } static inline __attribute__((always_inline)) void callee(device SSBO1& _14, thread float4& gl_FragCoord, device SSBO0& _35) { int _38 = int(gl_FragCoord.x); _35.values0[_38]++; callee2(_14, gl_FragCoord); } fragment void main0(device SSBO1& _14 [[buffer(0), raster_order_group(0)]], device SSBO0& _35 [[buffer(1), raster_order_group(0)]], float4 gl_FragCoord [[position]]) { callee(_14, gl_FragCoord, _35); }