summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/array100.frag.out
blob: b44f6a02cbc0f0313a7a20314f75c00fa5724975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
array100.frag
ERROR: 0:3: 'float' : type requires declaration of default precision qualifier 
ERROR: 0:3: '' : array size required 
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions 
ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions 
ERROR: 0:9: 'array in function return type' : not supported for this version or the enabled extensions 
ERROR: 0:11: 'arrayed constructor' : not supported for this version or the enabled extensions 
ERROR: 0:21: '[' :  array index out of range '2'
ERROR: 0:24: 'array assignment' : not supported for this version or the enabled extensions 
ERROR: 0:25: 'array assignment' : not supported for this version or the enabled extensions 
ERROR: 0:25: 'assign' :  cannot convert from 'global 4-element array of mediump float' to 'global 5-element array of mediump float'
ERROR: 0:26: 'array assignment' : not supported for this version or the enabled extensions 
ERROR: 0:26: 'assign' :  cannot convert from 'global 4-element array of mediump float' to 'global implicitly-sized array of mediump float'
ERROR: 0:28: 'foo' : no matching overloaded function found 
ERROR: 0:31: 'arrayed constructor' : not supported for this version or the enabled extensions 
ERROR: 0:31: 'array comparison' : not supported for this version or the enabled extensions 
ERROR: 0:35: '[' :  array index out of range '5'
ERROR: 0:38: '[' :  array index out of range '1000'
ERROR: 0:39: '[' :  index out of range '-1'
ERROR: 0:53: 'array in function return type' : not supported for this version or the enabled extensions 
ERROR: 0:66: 'array assignment' : not supported for this version or the enabled extensions 
ERROR: 0:68: 'array assignment' : not supported for this version or the enabled extensions 
ERROR: 0:69: 'array initializer' : not supported for this version or the enabled extensions 
ERROR: 22 compilation errors.  No code generated.


Shader version: 100
ERROR: node is still EOpNull!
0:9  Function Definition: foo(f1[5]; (global 4-element array of mediump float)
0:9    Function Parameters: 
0:9      'a' (in 5-element array of mediump float)
0:11    Sequence
0:11      Branch: Return with expression
0:11        Construct float (temp 4-element array of float)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              0 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              1 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              2 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              3 (const int)
0:14  Function Definition: bar(f1[5]; (global void)
0:14    Function Parameters: 
0:14      '' (in 5-element array of mediump float)
0:16  Function Definition: main( (global void)
0:16    Function Parameters: 
0:?     Sequence
0:?       Sequence
0:21        move second child to first child (temp mediump float)
0:21          direct index (temp mediump float)
0:21            'gu' (temp 2-element array of mediump float)
0:21            Constant:
0:21              2 (const int)
0:21          Constant:
0:21            4.000000
0:24      move second child to first child (temp 4-element array of mediump float)
0:24        'g4' (global 4-element array of mediump float)
0:24        Function Call: foo(f1[5]; (global 4-element array of mediump float)
0:24          'g5' (global 5-element array of mediump float)
0:25      'g5' (global 5-element array of mediump float)
0:26      'gu' (global implicitly-sized array of mediump float)
0:28      Constant:
0:28        0.000000
0:29      Function Call: bar(f1[5]; (global void)
0:29        'g5' (global 5-element array of mediump float)
0:31      Test condition and select (temp void)
0:31        Condition
0:31        Compare Equal (temp bool)
0:31          Constant:
0:31            1.000000
0:31            2.000000
0:31            3.000000
0:31            4.000000
0:31          'g4' (global 4-element array of mediump float)
0:31        true case
0:32        move second child to first child (temp mediump float)
0:32          direct index (temp mediump float)
0:32            'gu' (global implicitly-sized array of mediump float)
0:32            Constant:
0:32              0 (const int)
0:32          Constant:
0:32            2.000000
0:35      move second child to first child (temp mediump float)
0:35        direct index (temp mediump float)
0:35          'u' (temp 5-element array of mediump float)
0:35          Constant:
0:35            5 (const int)
0:35        Constant:
0:35          5.000000
0:36      Function Call: foo(f1[5]; (global 4-element array of mediump float)
0:36        'u' (temp 5-element array of mediump float)
0:38      move second child to first child (temp mediump 4-component vector of float)
0:38        direct index (temp mediump 4-component vector of float FragData)
0:38          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:38          Constant:
0:38            1000 (const int)
0:38        Constant:
0:38          1.000000
0:38          1.000000
0:38          1.000000
0:38          1.000000
0:39      move second child to first child (temp mediump 4-component vector of float)
0:39        direct index (temp mediump 4-component vector of float FragData)
0:39          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:39          Constant:
0:39            -1 (const int)
0:39        Constant:
0:39          1.000000
0:39          1.000000
0:39          1.000000
0:39          1.000000
0:40      move second child to first child (temp mediump 4-component vector of float)
0:40        direct index (temp mediump 4-component vector of float FragData)
0:40          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:40          Constant:
0:40            3 (const int)
0:40        Constant:
0:40          1.000000
0:40          1.000000
0:40          1.000000
0:40          1.000000
0:53  Function Definition: bar9( (global structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:53    Function Parameters: 
0:?     Sequence
0:56      Branch: Return with expression
0:56        's' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:59  Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (global void)
0:59    Function Parameters: 
0:59      's' (in structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:63  Function Definition: bar11( (global void)
0:63    Function Parameters: 
0:?     Sequence
0:66      move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:66        's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:66        's2' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:67      Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (global void)
0:67        's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68      move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68        's2' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68        Function Call: bar9( (global structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69      Sequence
0:69        move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69          'initSb' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69          's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:?   Linker Objects
0:?     'gu' (global implicitly-sized array of mediump float)
0:?     'g4' (global 4-element array of mediump float)
0:?     'g5' (global 5-element array of mediump float)
0:?     'a' (uniform mediump int)


Linked fragment stage:


Shader version: 100
ERROR: node is still EOpNull!
0:9  Function Definition: foo(f1[5]; (global 4-element array of mediump float)
0:9    Function Parameters: 
0:9      'a' (in 5-element array of mediump float)
0:11    Sequence
0:11      Branch: Return with expression
0:11        Construct float (temp 4-element array of float)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              0 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              1 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              2 (const int)
0:11          direct index (temp mediump float)
0:11            'a' (in 5-element array of mediump float)
0:11            Constant:
0:11              3 (const int)
0:14  Function Definition: bar(f1[5]; (global void)
0:14    Function Parameters: 
0:14      '' (in 5-element array of mediump float)
0:16  Function Definition: main( (global void)
0:16    Function Parameters: 
0:?     Sequence
0:?       Sequence
0:21        move second child to first child (temp mediump float)
0:21          direct index (temp mediump float)
0:21            'gu' (temp 2-element array of mediump float)
0:21            Constant:
0:21              2 (const int)
0:21          Constant:
0:21            4.000000
0:24      move second child to first child (temp 4-element array of mediump float)
0:24        'g4' (global 4-element array of mediump float)
0:24        Function Call: foo(f1[5]; (global 4-element array of mediump float)
0:24          'g5' (global 5-element array of mediump float)
0:25      'g5' (global 5-element array of mediump float)
0:26      'gu' (global 1-element array of mediump float)
0:28      Constant:
0:28        0.000000
0:29      Function Call: bar(f1[5]; (global void)
0:29        'g5' (global 5-element array of mediump float)
0:31      Test condition and select (temp void)
0:31        Condition
0:31        Compare Equal (temp bool)
0:31          Constant:
0:31            1.000000
0:31            2.000000
0:31            3.000000
0:31            4.000000
0:31          'g4' (global 4-element array of mediump float)
0:31        true case
0:32        move second child to first child (temp mediump float)
0:32          direct index (temp mediump float)
0:32            'gu' (global 1-element array of mediump float)
0:32            Constant:
0:32              0 (const int)
0:32          Constant:
0:32            2.000000
0:35      move second child to first child (temp mediump float)
0:35        direct index (temp mediump float)
0:35          'u' (temp 5-element array of mediump float)
0:35          Constant:
0:35            5 (const int)
0:35        Constant:
0:35          5.000000
0:36      Function Call: foo(f1[5]; (global 4-element array of mediump float)
0:36        'u' (temp 5-element array of mediump float)
0:38      move second child to first child (temp mediump 4-component vector of float)
0:38        direct index (temp mediump 4-component vector of float FragData)
0:38          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:38          Constant:
0:38            1000 (const int)
0:38        Constant:
0:38          1.000000
0:38          1.000000
0:38          1.000000
0:38          1.000000
0:39      move second child to first child (temp mediump 4-component vector of float)
0:39        direct index (temp mediump 4-component vector of float FragData)
0:39          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:39          Constant:
0:39            -1 (const int)
0:39        Constant:
0:39          1.000000
0:39          1.000000
0:39          1.000000
0:39          1.000000
0:40      move second child to first child (temp mediump 4-component vector of float)
0:40        direct index (temp mediump 4-component vector of float FragData)
0:40          'gl_FragData' (fragColor 32-element array of mediump 4-component vector of float FragData)
0:40          Constant:
0:40            3 (const int)
0:40        Constant:
0:40          1.000000
0:40          1.000000
0:40          1.000000
0:40          1.000000
0:53  Function Definition: bar9( (global structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:53    Function Parameters: 
0:?     Sequence
0:56      Branch: Return with expression
0:56        's' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:59  Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (global void)
0:59    Function Parameters: 
0:59      's' (in structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:63  Function Definition: bar11( (global void)
0:63    Function Parameters: 
0:?     Sequence
0:66      move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:66        's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:66        's2' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:67      Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; (global void)
0:67        's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68      move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68        's2' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:68        Function Call: bar9( (global structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69      Sequence
0:69        move second child to first child (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69          'initSb' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:69          's1' (temp structure{global mediump 4-component vector of float v4, global structure{global mediump 3-component vector of float v3, global 4-element array of mediump 2-component vector of float v2} sa})
0:?   Linker Objects
0:?     'gu' (global 1-element array of mediump float)
0:?     'g4' (global 4-element array of mediump float)
0:?     'g5' (global 5-element array of mediump float)
0:?     'a' (uniform mediump int)