blob: a4c8ea3fbf160cf417d7362ffa2cfb2adaa311aa [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S1 {
int i;
};
struct S2 {
S1 s1;
};
struct S3 {
S2 s2;
};
struct tint_private_vars_struct {
S3 P;
};
kernel void tint_symbol(device int* tint_symbol_1 [[buffer(0)]]) {
thread tint_private_vars_struct tint_private_vars = {};
tint_private_vars.P = S3{.s2=S2{.s1=S1{.i=42}}};
*(tint_symbol_1) = tint_private_vars.P.s2.s1.i;
return;
}