1spv.WorkgroupMemoryExplicitLayout.std140.comp 2// Module Version 10400 3// Generated by (magic number): 8000b 4// Id's are bound by 29 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" 28 12 ExecutionMode 4 LocalSize 8 1 1 13 Source GLSL 430 14 SourceExtension "GL_EXT_shared_memory_block" 15 Name 4 "main" 16 Name 17 "T" 17 MemberName 17(T) 0 "t" 18 Name 24 "S" 19 MemberName 24(S) 0 "f" 20 MemberName 24(S) 1 "v2" 21 MemberName 24(S) 2 "v3" 22 MemberName 24(S) 3 "v4" 23 MemberName 24(S) 4 "t" 24 MemberName 24(S) 5 "f_array" 25 MemberName 24(S) 6 "v2_array" 26 MemberName 24(S) 7 "v3_array" 27 MemberName 24(S) 8 "v4_array" 28 MemberName 24(S) 9 "t_array" 29 Name 26 "Block" 30 MemberName 26(Block) 0 "s" 31 MemberName 26(Block) 1 "s_array" 32 Name 28 "" 33 Decorate 10 BuiltIn WorkgroupSize 34 Decorate 16 ArrayStride 16 35 MemberDecorate 17(T) 0 Offset 0 36 Decorate 19 ArrayStride 16 37 Decorate 20 ArrayStride 16 38 Decorate 21 ArrayStride 16 39 Decorate 22 ArrayStride 16 40 Decorate 23 ArrayStride 48 41 MemberDecorate 24(S) 0 Offset 0 42 MemberDecorate 24(S) 1 Offset 8 43 MemberDecorate 24(S) 2 Offset 16 44 MemberDecorate 24(S) 3 Offset 32 45 MemberDecorate 24(S) 4 Offset 48 46 MemberDecorate 24(S) 5 Offset 96 47 MemberDecorate 24(S) 6 Offset 192 48 MemberDecorate 24(S) 7 Offset 288 49 MemberDecorate 24(S) 8 Offset 384 50 MemberDecorate 24(S) 9 Offset 480 51 Decorate 25 ArrayStride 768 52 MemberDecorate 26(Block) 0 Offset 0 53 MemberDecorate 26(Block) 1 Offset 768 54 Decorate 26(Block) Block 55 2: TypeVoid 56 3: TypeFunction 2 57 6: TypeInt 32 0 58 7: TypeVector 6(int) 3 59 8: 6(int) Constant 8 60 9: 6(int) Constant 1 61 10: 7(ivec3) ConstantComposite 8 9 9 62 11: TypeFloat 32 63 12: TypeVector 11(float) 2 64 13: TypeVector 11(float) 3 65 14: TypeVector 11(float) 4 66 15: 6(int) Constant 3 67 16: TypeArray 11(float) 15 68 17(T): TypeStruct 16 69 18: 6(int) Constant 6 70 19: TypeArray 11(float) 18 71 20: TypeArray 12(fvec2) 18 72 21: TypeArray 13(fvec3) 18 73 22: TypeArray 14(fvec4) 18 74 23: TypeArray 17(T) 18 75 24(S): TypeStruct 11(float) 12(fvec2) 13(fvec3) 14(fvec4) 17(T) 19 20 21 22 23 76 25: TypeArray 24(S) 18 77 26(Block): TypeStruct 24(S) 25 78 27: TypePointer Workgroup 26(Block) 79 28: 27(ptr) Variable Workgroup 80 4(main): 2 Function None 3 81 5: Label 82 Return 83 FunctionEnd 84