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