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