2021-05-17 22:26:57 +00:00
|
|
|
#include <metal_stdlib>
|
|
|
|
|
|
|
|
using namespace metal;
|
|
|
|
kernel void tint_symbol() {
|
2021-05-18 10:28:48 +00:00
|
|
|
float3 const v = float3(1.0f, 2.0f, 3.0f);
|
2021-10-20 16:12:33 +00:00
|
|
|
float const scalar = v[1];
|
|
|
|
float2 const swizzle2 = float3(v).xz;
|
|
|
|
float3 const swizzle3 = float3(v).xzy;
|
2021-05-17 22:26:57 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|