31dd2dd19be8af6009bf6242b9ebb8cee1e50c14
[platform/upstream/glslang.git] / Test / baseResults / spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp.out
1 spv.WorkgroupMemoryExplicitLayout.16BitAccess.comp
2 // Module Version 10400
3 // Generated by (magic number): 8000a
4 // Id's are bound by 25
5
6                               Capability Shader
7                               Capability Float16
8                               Capability Int16
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
16                               Source GLSL 430
17                               SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
18                               SourceExtension  "GL_EXT_shared_memory_block"
19                               Name 4  "main"
20                               Name 8  "first"
21                               MemberName 8(first) 0  "a"
22                               MemberName 8(first) 1  "f"
23                               Name 10  ""
24                               MemberDecorate 8(first) 0 Offset 0
25                               MemberDecorate 8(first) 1 Offset 2
26                               Decorate 8(first) Block
27                               Decorate 24 BuiltIn WorkgroupSize
28                2:             TypeVoid
29                3:             TypeFunction 2
30                6:             TypeInt 16 1
31                7:             TypeFloat 16
32         8(first):             TypeStruct 6(int16_t) 7(float16_t)
33                9:             TypePointer Workgroup 8(first)
34               10:      9(ptr) Variable Workgroup
35               11:             TypeInt 32 1
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)
42               20:             TypeInt 32 0
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
48                5:             Label
49               15:     14(ptr) AccessChain 10 12
50                               Store 15 13
51               19:     18(ptr) AccessChain 10 16
52                               Store 19 17
53                               Return
54                               FunctionEnd