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

13 lines
180 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
/* 0x0000 */ int a;
};
kernel void tint_symbol(device S& v [[buffer(0)]]) {
int const use = (v.a + 1);
return;
}