1#include <metal_stdlib>
2#include <simd/simd.h>
3using namespace metal;
4struct Uniforms {
5    float4 colorGreen;
6};
7struct Inputs {
8};
9struct Outputs {
10    float4 sk_FragColor [[color(0)]];
11};
12
13fragment Outputs fragmentMain(Inputs _in [[stage_in]], constant Uniforms& _uniforms [[buffer(0)]], bool _frontFacing [[front_facing]], float4 _fragCoord [[position]]) {
14    Outputs _out;
15    (void)_out;
16    float _0_x = 1.0;
17    _0_x = abs(_0_x);
18    _0_x = abs(_0_x - 2.0);
19    _0_x = (_0_x * 2.0);
20    _0_x = sign(_0_x);
21    float2 _1_x = float2(1.0, 2.0);
22    _1_x = float2(length(_1_x));
23    _1_x = float2(distance(_1_x, float2(3.0, 4.0)));
24    _1_x = float2(dot(_1_x, float2(3.0, 4.0)));
25    _1_x = normalize(_1_x);
26    _out.sk_FragColor = _uniforms.colorGreen;
27    return _out;
28}
29