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

14 lines
192 B
Plaintext

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