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

14 lines
198 B
Plaintext

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