blob: 7020eed224472ca7cd13132818c8627110e49d46 [file] [log] [blame] [edit]
#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;
}