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

14 lines
177 B
Plaintext

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