dawn-cmake/test/ptr_ref/load/param/ptr.wgsl.expected.msl

14 lines
212 B
Plaintext
Raw Normal View History

#include <metal_stdlib>
using namespace metal;
int func(int value, thread int* pointer) {
return (value + *(pointer));
}
kernel void tint_symbol() {
int i = 123;
int const r = func(i, &(i));
return;
}