12 lines
227 B
Plaintext
12 lines
227 B
Plaintext
|
#include <metal_stdlib>
|
||
|
|
||
|
using namespace metal;
|
||
|
kernel void tint_symbol() {
|
||
|
const float3 v = float3(1.0f, 2.0f, 3.0f);
|
||
|
const float scalar = v.y;
|
||
|
const float2 swizzle2 = v.xz;
|
||
|
const float3 swizzle3 = v.xzy;
|
||
|
return;
|
||
|
}
|
||
|
|