#include #include struct splatOutput { metal::float4 member [[position]]; }; vertex splatOutput splat( ) { return splatOutput { (((float2(1.0) + float2(2.0)) - float2(3.0)) / float2(4.0)).xyxy + static_cast(int4(5) % int4(2)) }; }