dawn-cmake/test/ptr_ref/load/global/i32.wgsl.expected.msl

12 lines
236 B
Plaintext

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