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

12 lines
226 B
Plaintext

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