1 #include <metal_stdlib>
11 half4 sk_FragColor [[color(0)]];
13 fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
16 float f = float(_uniforms.colorGreen.y);
17 int i = int(_uniforms.colorGreen.y);
18 uint u = uint(_uniforms.colorGreen.y);
19 bool b = bool(_uniforms.colorGreen.y);
36 _out.sk_FragColor = ((((((((((((((half(f1) + half(f2)) + half(f3)) + half(f4)) + half(i1)) + half(i2)) + half(i3)) + half(i4)) + half(u1)) + half(u2)) + half(u3)) + half(u4)) + half(b1)) + half(b2)) + half(b3)) + half(b4) == 16.0h ? _uniforms.colorGreen : _uniforms.colorRed;