blob: e0842c66c3ad879b79f6b07530f703416daa352f [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol(device packed_float3* tint_symbol_1 [[buffer(0)]]) {
float3 const v = float3(1.0f, 2.0f, 3.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;
}