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