dawn-cmake/test/ptr_ref/store/local/i32.wgsl.expected.msl

12 lines
168 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
int i = 123;
int* const p = &(i);
*(p) = 123;
*(p) = ((100 + 20) + 3);
return;
}