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

13 lines
203 B
Plaintext

SKIP: crbug.com/tint/816
#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;
}