dawn-cmake/test/tint/access/let/vector.wgsl.expected.msl

12 lines
313 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
float3 const v = float3(1.0f, 2.0f, 3.0f);
float const scalar = float3(1.0f, 2.0f, 3.0f)[1];
float2 const swizzle2 = float3(float3(1.0f, 2.0f, 3.0f)).xz;
float3 const swizzle3 = float3(float3(1.0f, 2.0f, 3.0f)).xzy;
return;
}