1#version 430 core
2
3#extension GL_EXT_scalar_block_layout : enable
4#extension GL_EXT_shared_memory_block : enable
5
6layout(local_size_x = 8) in;
7
8struct T
9{
10    float t[3];
11};
12
13struct S
14{
15    float f;
16    vec2 v2;
17    vec3 v3;
18    vec4 v4;
19    T t;
20
21    float f_array[6];
22    vec2 v2_array[6];
23    vec3 v3_array[6];
24    vec4 v4_array[6];
25    T t_array[6];
26};
27
28// Use a default qualifier.
29layout(scalar) shared;
30
31shared Block
32{
33    S s;
34    S s_array[6];
35};
36
37void main()
38{
39}
40