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

18 lines
255 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
struct tint_private_vars_struct {
S V;
};
kernel void tint_symbol() {
thread tint_private_vars_struct tint_private_vars = {};
int const i = tint_private_vars.V.i;
return;
}