#include <metal_stdlib> | |
using namespace metal; | |
kernel void tint_symbol(device packed_float3* tint_symbol_1 [[buffer(0)]]) { | |
float3 v = 0.0f; | |
float const scalar = v[1]; | |
float2 const swizzle2 = v.xz; | |
float3 const swizzle3 = v.xzy; | |
*(tint_symbol_1) = packed_float3(((float3(scalar) + float3(swizzle2, 1.0f)) + swizzle3)); | |
return; | |
} | |