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

16 lines
217 B
Plaintext
Raw Normal View History

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