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

14 lines
223 B
Plaintext

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