#version 310 es | |
struct S1 { | |
int i; | |
}; | |
struct S2 { | |
S1 s1; | |
}; | |
struct S3 { | |
S2 s2; | |
}; | |
S3 P = S3(S2(S1(42))); | |
layout(binding = 0, std430) | |
buffer tint_symbol_3_1_ssbo { | |
int tint_symbol_2; | |
} v; | |
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; | |
void main() { | |
v.tint_symbol_2 = P.s2.s1.i; | |
} |