1#version 430 core 2 3#extension GL_EXT_shared_memory_block : enable 4 5layout(local_size_x = 8) in; 6 7shared first 8{ 9 int a; 10}; 11 12shared second 13{ 14 int b; 15}; 16 17void main() 18{ 19 a = 2; 20 b = 3; 21} 22