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