dawn-cmake/test/ptr_ref/load/local/ptr_workgroup.wgsl.expected...

13 lines
291 B
Plaintext

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