• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.constructComposite.comp
2// Module Version 10000
3// Generated by (magic number): 8000a
4// Id's are bound by 29
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint GLCompute 4  "main"
10                              ExecutionMode 4 LocalSize 64 1 1
11                              Source GLSL 460
12                              Name 4  "main"
13                              Name 7  "sA"
14                              MemberName 7(sA) 0  "x"
15                              MemberName 7(sA) 1  "y"
16                              Name 8  "sC"
17                              MemberName 8(sC) 0  "state"
18                              Name 10  "c"
19                              Name 11  "sA"
20                              MemberName 11(sA) 0  "x"
21                              MemberName 11(sA) 1  "y"
22                              Name 12  "sB"
23                              MemberName 12(sB) 0  "a"
24                              Name 13  "ubo"
25                              MemberName 13(ubo) 0  "b"
26                              Name 15  ""
27                              MemberDecorate 11(sA) 0 Offset 0
28                              MemberDecorate 11(sA) 1 Offset 4
29                              MemberDecorate 12(sB) 0 Offset 0
30                              MemberDecorate 13(ubo) 0 Offset 0
31                              Decorate 13(ubo) Block
32                              Decorate 15 DescriptorSet 0
33                              Decorate 15 Binding 0
34                              Decorate 28 BuiltIn WorkgroupSize
35               2:             TypeVoid
36               3:             TypeFunction 2
37               6:             TypeInt 32 1
38           7(sA):             TypeStruct 6(int) 6(int)
39           8(sC):             TypeStruct 7(sA)
40               9:             TypePointer Private 8(sC)
41           10(c):      9(ptr) Variable Private
42          11(sA):             TypeStruct 6(int) 6(int)
43          12(sB):             TypeStruct 11(sA)
44         13(ubo):             TypeStruct 12(sB)
45              14:             TypePointer Uniform 13(ubo)
46              15:     14(ptr) Variable Uniform
47              16:      6(int) Constant 0
48              17:             TypePointer Uniform 11(sA)
49              24:             TypeInt 32 0
50              25:             TypeVector 24(int) 3
51              26:     24(int) Constant 64
52              27:     24(int) Constant 1
53              28:   25(ivec3) ConstantComposite 26 27 27
54         4(main):           2 Function None 3
55               5:             Label
56              18:     17(ptr) AccessChain 15 16 16
57              19:      11(sA) Load 18
58              20:      6(int) CompositeExtract 19 0
59              21:      6(int) CompositeExtract 19 1
60              22:       7(sA) CompositeConstruct 20 21
61              23:       8(sC) CompositeConstruct 22
62                              Store 10(c) 23
63                              Return
64                              FunctionEnd
65