dawn-cmake/test/tint/ptr_ref/load/param/function/vec4_f32.wgsl.expected.msl

14 lines
207 B
Plaintext

#include <metal_stdlib>
using namespace metal;
float4 func(thread float4* const pointer) {
return *(pointer);
}
kernel void tint_symbol() {
float4 F = 0.0f;
float4 const r = func(&(F));
return;
}