dawn-cmake/test/ptr_ref/access/vector.wgsl.expected.msl

11 lines
177 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
float3 v = float3(1.0f, 2.0f, 3.0f);
thread float* const f = &(v.y);
*(f) = 5.0f;
return;
}