1 spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp
2 // Module Version 10400
3 // Generated by (magic number): 8000a
4 // Id's are bound by 25
9 Capability CapabilityWorkgroupMemoryExplicitLayoutKHR
10 Capability CapabilityWorkgroupMemoryExplicitLayout16BitAccessKHR
11 Extension "SPV_KHR_workgroup_memory_explicit_layout"
12 1: ExtInstImport "GLSL.std.450"
13 MemoryModel Logical GLSL450
14 EntryPoint GLCompute 4 "main" 10
15 ExecutionMode 4 LocalSize 2 1 1
17 SourceExtension "GL_EXT_shader_explicit_arithmetic_types"
18 SourceExtension "GL_EXT_shared_memory_block"
21 MemberName 8(first) 0 "a"
22 MemberName 8(first) 1 "f"
24 MemberDecorate 8(first) 0 Offset 0
25 MemberDecorate 8(first) 1 Offset 2
26 Decorate 8(first) Block
27 Decorate 24 BuiltIn WorkgroupSize
32 8(first): TypeStruct 6(int16_t) 7(float16_t)
33 9: TypePointer Workgroup 8(first)
34 10: 9(ptr) Variable Workgroup
36 12: 11(int) Constant 0
37 13: 6(int16_t) Constant 3
38 14: TypePointer Workgroup 6(int16_t)
39 16: 11(int) Constant 1
40 17:7(float16_t) Constant 18982
41 18: TypePointer Workgroup 7(float16_t)
43 21: TypeVector 20(int) 3
44 22: 20(int) Constant 2
45 23: 20(int) Constant 1
46 24: 21(ivec3) ConstantComposite 22 23 23
47 4(main): 2 Function None 3
49 15: 14(ptr) AccessChain 10 12
51 19: 18(ptr) AccessChain 10 16