1spv.WorkgroupMemoryExplicitLayout.MultiBlock.comp 2// Module Version 10400 3// Generated by (magic number): 8000a 4// Id's are bound by 24 5 6 Capability Shader 7 Capability CapabilityWorkgroupMemoryExplicitLayoutKHR 8 Extension "SPV_KHR_workgroup_memory_explicit_layout" 9 1: ExtInstImport "GLSL.std.450" 10 MemoryModel Logical GLSL450 11 EntryPoint GLCompute 4 "main" 9 16 12 ExecutionMode 4 LocalSize 8 1 1 13 Source GLSL 430 14 SourceExtension "GL_EXT_shared_memory_block" 15 Name 4 "main" 16 Name 7 "first" 17 MemberName 7(first) 0 "a" 18 Name 9 "" 19 Name 14 "second" 20 MemberName 14(second) 0 "b" 21 Name 16 "" 22 MemberDecorate 7(first) 0 Offset 0 23 Decorate 7(first) Block 24 MemberDecorate 14(second) 0 Offset 0 25 Decorate 14(second) Block 26 Decorate 23 BuiltIn WorkgroupSize 27 Decorate 9 Aliased 28 Decorate 16 Aliased 29 2: TypeVoid 30 3: TypeFunction 2 31 6: TypeInt 32 1 32 7(first): TypeStruct 6(int) 33 8: TypePointer Workgroup 7(first) 34 9: 8(ptr) Variable Workgroup 35 10: 6(int) Constant 0 36 11: 6(int) Constant 2 37 12: TypePointer Workgroup 6(int) 38 14(second): TypeStruct 6(int) 39 15: TypePointer Workgroup 14(second) 40 16: 15(ptr) Variable Workgroup 41 17: 6(int) Constant 3 42 19: TypeInt 32 0 43 20: TypeVector 19(int) 3 44 21: 19(int) Constant 8 45 22: 19(int) Constant 1 46 23: 20(ivec3) ConstantComposite 21 22 22 47 4(main): 2 Function None 3 48 5: Label 49 13: 12(ptr) AccessChain 9 10 50 Store 13 11 51 18: 12(ptr) AccessChain 16 10 52 Store 18 17 53 Return 54 FunctionEnd 55