1#include <metal_stdlib>
2#include <simd/simd.h>
3using namespace metal;
4struct Inputs {
5    float4 pos  [[attribute(0)]];
6};
7struct Outputs {
8    float4 sk_Position [[position]];
9    float sk_PointSize [[point_size]];
10};
11
12vertex Outputs vertexMain(Inputs _in [[stage_in]], uint sk_VertexID [[vertex_id]], uint sk_InstanceID [[instance_id]]) {
13    Outputs _out;
14    (void)_out;
15    _out.sk_Position = _in.pos;
16    return (_out.sk_Position.y = -_out.sk_Position.y, _out);
17}
18