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

14 lines
208 B
Plaintext

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