1#include <metal_stdlib> 2#include <simd/simd.h> 3#ifdef __clang__ 4#pragma clang diagnostic ignored "-Wall" 5#endif 6using namespace metal; 7struct Uniforms { 8 half4 colorGreen; 9}; 10struct Inputs { 11}; 12struct Outputs { 13 half4 sk_FragColor [[color(0)]]; 14}; 15fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) { 16 Outputs _out; 17 (void)_out; 18 half4 active = _uniforms.colorGreen; 19 half4 centroid = _uniforms.colorGreen; 20 half4 coherent = _uniforms.colorGreen; 21 half4 common = _uniforms.colorGreen; 22 half4 filter = _uniforms.colorGreen; 23 half4 partition = _uniforms.colorGreen; 24 half4 patch = _uniforms.colorGreen; 25 half4 precise = _uniforms.colorGreen; 26 half4 resource = _uniforms.colorGreen; 27 half4 restrict = _uniforms.colorGreen; 28 half4 shared = _uniforms.colorGreen; 29 half4 smooth = _uniforms.colorGreen; 30 half4 subroutine = _uniforms.colorGreen; 31 _out.sk_FragColor = (((((((((((active * centroid) * coherent) * common) * filter) * partition) * patch) * precise) * resource) * restrict) * shared) * smooth) * subroutine; 32 return _out; 33} 34