1spv.AofA.frag
2WARNING: 0:6: '[][]' : Generating SPIR-V array-of-arrays, but Vulkan only supports single array level for this resource
3
4// Module Version 10000
5// Generated by (magic number): 80007
6// Id's are bound by 104
7
8                              Capability Shader
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 39 44 68 70 72 78
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 430
14                              Name 4  "main"
15                              Name 17  "foo(f1[5][7];"
16                              Name 16  "a"
17                              Name 20  "r"
18                              Name 39  "outfloat"
19                              Name 42  "g4"
20                              Name 44  "g5"
21                              Name 45  "param"
22                              Name 48  "u"
23                              Name 52  "param"
24                              Name 66  "many"
25                              Name 68  "i"
26                              Name 70  "j"
27                              Name 72  "k"
28                              Name 78  "infloat"
29                              Name 94  "uAofA"
30                              MemberName 94(uAofA) 0  "f"
31                              Name 98  "nameAofA"
32                              Decorate 68(i) Flat
33                              Decorate 70(j) Flat
34                              Decorate 72(k) Flat
35                              Decorate 92 ArrayStride 16
36                              Decorate 93 ArrayStride 64
37                              MemberDecorate 94(uAofA) 0 Offset 0
38                              Decorate 94(uAofA) Block
39                              Decorate 98(nameAofA) DescriptorSet 0
40               2:             TypeVoid
41               3:             TypeFunction 2
42               6:             TypeFloat 32
43               7:             TypeInt 32 0
44               8:      7(int) Constant 7
45               9:             TypeArray 6(float) 8
46              10:      7(int) Constant 5
47              11:             TypeArray 9 10
48              12:             TypePointer Function 11
49              13:      7(int) Constant 4
50              14:             TypeArray 9 13
51              15:             TypeFunction 14 12(ptr)
52              19:             TypePointer Function 9
53              21:             TypeInt 32 1
54              22:     21(int) Constant 2
55              25:     21(int) Constant 0
56              28:     21(int) Constant 1
57              32:     21(int) Constant 3
58              38:             TypePointer Output 6(float)
59    39(outfloat):     38(ptr) Variable Output
60              40:    6(float) Constant 0
61              41:             TypePointer Private 14
62          42(g4):     41(ptr) Variable Private
63              43:             TypePointer Input 11
64          44(g5):     43(ptr) Variable Input
65              49:    6(float) Constant 1077936128
66              50:             TypePointer Function 6(float)
67              55:      7(int) Constant 6
68              56:             TypeArray 6(float) 55
69              57:             TypeArray 56 10
70              58:             TypeArray 57 13
71              59:      7(int) Constant 3
72              60:             TypeArray 58 59
73              61:      7(int) Constant 2
74              62:             TypeArray 60 61
75              63:      7(int) Constant 1
76              64:             TypeArray 62 63
77              65:             TypePointer Private 64
78        66(many):     65(ptr) Variable Private
79              67:             TypePointer Input 21(int)
80           68(i):     67(ptr) Variable Input
81           70(j):     67(ptr) Variable Input
82           72(k):     67(ptr) Variable Input
83              77:             TypePointer Input 6(float)
84     78(infloat):     77(ptr) Variable Input
85              80:             TypePointer Private 6(float)
86              92:             TypeArray 6(float) 13
87              93:             TypeArray 92 61
88       94(uAofA):             TypeStruct 93
89              95:             TypeArray 94(uAofA) 10
90              96:             TypeArray 95 59
91              97:             TypePointer Uniform 96
92    98(nameAofA):     97(ptr) Variable Uniform
93              99:             TypePointer Uniform 6(float)
94         4(main):           2 Function None 3
95               5:             Label
96       45(param):     12(ptr) Variable Function
97           48(u):     12(ptr) Variable Function
98       52(param):     12(ptr) Variable Function
99                              Store 39(outfloat) 40
100              46:          11 Load 44(g5)
101                              Store 45(param) 46
102              47:          14 FunctionCall 17(foo(f1[5][7];) 45(param)
103                              Store 42(g4) 47
104              51:     50(ptr) AccessChain 48(u) 22 22
105                              Store 51 49
106              53:          11 Load 48(u)
107                              Store 52(param) 53
108              54:          14 FunctionCall 17(foo(f1[5][7];) 52(param)
109              69:     21(int) Load 68(i)
110              71:     21(int) Load 70(j)
111              73:     21(int) Load 72(k)
112              74:     21(int) Load 68(i)
113              75:     21(int) Load 70(j)
114              76:     21(int) Load 72(k)
115              79:    6(float) Load 78(infloat)
116              81:     80(ptr) AccessChain 66(many) 69 71 73 74 75 76
117                              Store 81 79
118              82:     21(int) Load 70(j)
119              83:     21(int) Load 70(j)
120              84:     21(int) Load 70(j)
121              85:     21(int) Load 70(j)
122              86:     21(int) Load 70(j)
123              87:     21(int) Load 70(j)
124              88:     80(ptr) AccessChain 66(many) 82 83 84 85 86 87
125              89:    6(float) Load 88
126              90:    6(float) Load 39(outfloat)
127              91:    6(float) FAdd 90 89
128                              Store 39(outfloat) 91
129             100:     99(ptr) AccessChain 98(nameAofA) 28 22 25 25 32
130             101:    6(float) Load 100
131             102:    6(float) Load 39(outfloat)
132             103:    6(float) FAdd 102 101
133                              Store 39(outfloat) 103
134                              Return
135                              FunctionEnd
13617(foo(f1[5][7];):          14 Function None 15
137           16(a):     12(ptr) FunctionParameter
138              18:             Label
139           20(r):     19(ptr) Variable Function
140              23:     19(ptr) AccessChain 16(a) 22
141              24:           9 Load 23
142                              Store 20(r) 24
143              26:     19(ptr) AccessChain 16(a) 25
144              27:           9 Load 26
145              29:     19(ptr) AccessChain 16(a) 28
146              30:           9 Load 29
147              31:           9 Load 20(r)
148              33:     19(ptr) AccessChain 16(a) 32
149              34:           9 Load 33
150              35:          14 CompositeConstruct 27 30 31 34
151                              ReturnValue 35
152                              FunctionEnd
153