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

14 lines
192 B
Plaintext

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