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

14 lines
238 B
Plaintext

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