1spv.WorkgroupMemoryExplicitLayout.SingleBlock.comp
2// Module Version 10400
3// Generated by (magic number): 8000a
4// Id's are bound by 19
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
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                              MemberDecorate 7(first) 0 Offset 0
20                              Decorate 7(first) Block
21                              Decorate 18 BuiltIn WorkgroupSize
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeInt 32 1
25        7(first):             TypeStruct 6(int)
26               8:             TypePointer Workgroup 7(first)
27               9:      8(ptr) Variable Workgroup
28              10:      6(int) Constant 0
29              11:      6(int) Constant 2
30              12:             TypePointer Workgroup 6(int)
31              14:             TypeInt 32 0
32              15:             TypeVector 14(int) 3
33              16:     14(int) Constant 8
34              17:     14(int) Constant 1
35              18:   15(ivec3) ConstantComposite 16 17 17
36         4(main):           2 Function None 3
37               5:             Label
38              13:     12(ptr) AccessChain 9 10
39                              Store 13 11
40                              Return
41                              FunctionEnd
42