dawn-cmake/test/ptr_ref/load/local/ptr_private.wgsl.expected.msl

12 lines
252 B
Plaintext

#include <metal_stdlib>
using namespace metal;
kernel void tint_symbol() {
thread int tint_symbol_2 = 123;
thread int* const tint_symbol_1 = &(tint_symbol_2);
thread int* const p = &(*(tint_symbol_1));
int const use = (*(p) + 1);
return;
}