1#include <metal_stdlib> 2#include <simd/simd.h> 3#ifdef __clang__ 4#pragma clang diagnostic ignored "-Wall" 5#endif 6using namespace metal; 7struct Inputs { 8}; 9struct Outputs { 10 half4 sk_FragColor [[color(0)]]; 11}; 12struct T { 13 int x; 14}; 15struct Globals { 16 constant T* _anonInterface0; 17}; 18fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant T& _anonInterface0 [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) { 19 Globals _globals{&_anonInterface0}; 20 (void)_globals; 21 Outputs _out; 22 (void)_out; 23 return _out; 24} 25