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

13 lines
261 B
Plaintext
Raw Normal View History

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