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

12 lines
175 B
Plaintext
Raw Normal View History

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