summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/forLoop.frag.out
blob: babd30e45d6bfc09210841265429d6a2e2cfd10a (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
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
forLoop.frag
Shader version: 130
0:? Sequence
0:10  Function Definition: main( (global void)
0:10    Function Parameters: 
0:12    Sequence
0:12      Sequence
0:12        move second child to first child (temp 4-component vector of float)
0:12          'color' (temp 4-component vector of float)
0:12          'BaseColor' (smooth in 4-component vector of float)
0:14      Sequence
0:14        Sequence
0:14          move second child to first child (temp int)
0:14            'i' (temp int)
0:14            Constant:
0:14              0 (const int)
0:14        Loop with condition tested first
0:14          Loop Condition
0:14          Compare Less Than (temp bool)
0:14            'i' (temp int)
0:14            'Count' (uniform int)
0:14          Loop Body
0:15          Sequence
0:15            add second child into first child (temp 4-component vector of float)
0:15              'color' (temp 4-component vector of float)
0:15              'bigColor' (uniform 4-component vector of float)
0:14          Loop Terminal Expression
0:14          Pre-Increment (temp int)
0:14            'i' (temp int)
0:18      move second child to first child (temp 4-component vector of float)
0:18        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:18        'color' (temp 4-component vector of float)
0:20      Sequence
0:20        move second child to first child (temp float)
0:20          'sum' (temp float)
0:20          Constant:
0:20            0.000000
0:21      Sequence
0:21        Sequence
0:21          move second child to first child (temp int)
0:21            'i' (temp int)
0:21            Constant:
0:21              0 (const int)
0:21        Loop with condition tested first
0:21          Loop Condition
0:21          Compare Less Than (temp bool)
0:21            'i' (temp int)
0:21            Constant:
0:21              4 (const int)
0:21          Loop Body
0:22          add second child into first child (temp float)
0:22            'sum' (temp float)
0:22            Convert uint to float (temp float)
0:22              indirect index (temp uint)
0:22                'v4' (uniform 4-component vector of uint)
0:22                'i' (temp int)
0:21          Loop Terminal Expression
0:21          Pre-Increment (temp int)
0:21            'i' (temp int)
0:26      Sequence
0:26        Sequence
0:26          move second child to first child (temp int)
0:26            'i' (temp int)
0:26            Constant:
0:26              0 (const int)
0:26        Loop with condition tested first
0:26          Loop Condition
0:26          Compare Less Than (temp bool)
0:26            'i' (temp int)
0:26            Constant:
0:26              4 (const int)
0:26          Loop Body
0:27          move second child to first child (temp float)
0:27            indirect index (temp float)
0:27              'tv4' (temp 4-component vector of float)
0:27              'i' (temp int)
0:27            Convert uint to float (temp float)
0:27              component-wise multiply (temp uint)
0:27                indirect index (temp uint)
0:27                  'v4' (uniform 4-component vector of uint)
0:27                  'i' (temp int)
0:27                Constant:
0:27                  4 (const uint)
0:26          Loop Terminal Expression
0:26          Pre-Increment (temp int)
0:26            'i' (temp int)
0:29      add second child into first child (temp 4-component vector of float)
0:29        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:29        add (temp 4-component vector of float)
0:29          Construct vec4 (temp 4-component vector of float)
0:29            'sum' (temp float)
0:29          'tv4' (temp 4-component vector of float)
0:32      move second child to first child (temp 3-component vector of float)
0:32        vector swizzle (temp 3-component vector of float)
0:32          'r' (temp 4-component vector of float)
0:32          Sequence
0:32            Constant:
0:32              0 (const int)
0:32            Constant:
0:32              1 (const int)
0:32            Constant:
0:32              2 (const int)
0:32        vector swizzle (temp 3-component vector of float)
0:32          'BaseColor' (smooth in 4-component vector of float)
0:32          Sequence
0:32            Constant:
0:32              0 (const int)
0:32            Constant:
0:32              1 (const int)
0:32            Constant:
0:32              2 (const int)
0:34      Sequence
0:34        Sequence
0:34          move second child to first child (temp int)
0:34            'i' (temp int)
0:34            Constant:
0:34              0 (const int)
0:34        Loop with condition tested first
0:34          Loop Condition
0:34          Compare Less Than (temp bool)
0:34            'i' (temp int)
0:34            'Count' (uniform int)
0:34          Loop Body
0:35          move second child to first child (temp float)
0:35            direct index (temp float)
0:35              'r' (temp 4-component vector of float)
0:35              Constant:
0:35                3 (const int)
0:35            'f' (smooth in float)
0:34          Loop Terminal Expression
0:34          Pre-Increment (temp int)
0:34            'i' (temp int)
0:37      add second child into first child (temp 3-component vector of float)
0:37        vector swizzle (temp 3-component vector of float)
0:37          'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:37          Sequence
0:37            Constant:
0:37              0 (const int)
0:37            Constant:
0:37              1 (const int)
0:37            Constant:
0:37              2 (const int)
0:37        vector swizzle (temp 3-component vector of float)
0:37          'r' (temp 4-component vector of float)
0:37          Sequence
0:37            Constant:
0:37              0 (const int)
0:37            Constant:
0:37              1 (const int)
0:37            Constant:
0:37              2 (const int)
0:39      Sequence
0:39        Sequence
0:39          move second child to first child (temp int)
0:39            'i' (temp int)
0:39            Constant:
0:39              0 (const int)
0:39        Loop with condition tested first
0:39          Loop Condition
0:39          Compare Less Than (temp bool)
0:39            'i' (temp int)
0:39            Constant:
0:39              16 (const int)
0:39          Loop Body
0:40          vector scale second child into first child (temp 4-component vector of float)
0:40            'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:40            'f' (smooth in float)
0:39          Loop Terminal Expression
0:39          add second child into first child (temp int)
0:39            'i' (temp int)
0:39            Constant:
0:39              4 (const int)
0:?   Linker Objects
0:?     'bigColor' (uniform 4-component vector of float)
0:?     'BaseColor' (smooth in 4-component vector of float)
0:?     'f' (smooth in float)
0:?     'Count' (uniform int)
0:?     'v4' (uniform 4-component vector of uint)


Linked fragment stage:


Shader version: 130
0:? Sequence
0:10  Function Definition: main( (global void)
0:10    Function Parameters: 
0:12    Sequence
0:12      Sequence
0:12        move second child to first child (temp 4-component vector of float)
0:12          'color' (temp 4-component vector of float)
0:12          'BaseColor' (smooth in 4-component vector of float)
0:14      Sequence
0:14        Sequence
0:14          move second child to first child (temp int)
0:14            'i' (temp int)
0:14            Constant:
0:14              0 (const int)
0:14        Loop with condition tested first
0:14          Loop Condition
0:14          Compare Less Than (temp bool)
0:14            'i' (temp int)
0:14            'Count' (uniform int)
0:14          Loop Body
0:15          Sequence
0:15            add second child into first child (temp 4-component vector of float)
0:15              'color' (temp 4-component vector of float)
0:15              'bigColor' (uniform 4-component vector of float)
0:14          Loop Terminal Expression
0:14          Pre-Increment (temp int)
0:14            'i' (temp int)
0:18      move second child to first child (temp 4-component vector of float)
0:18        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:18        'color' (temp 4-component vector of float)
0:20      Sequence
0:20        move second child to first child (temp float)
0:20          'sum' (temp float)
0:20          Constant:
0:20            0.000000
0:21      Sequence
0:21        Sequence
0:21          move second child to first child (temp int)
0:21            'i' (temp int)
0:21            Constant:
0:21              0 (const int)
0:21        Loop with condition tested first
0:21          Loop Condition
0:21          Compare Less Than (temp bool)
0:21            'i' (temp int)
0:21            Constant:
0:21              4 (const int)
0:21          Loop Body
0:22          add second child into first child (temp float)
0:22            'sum' (temp float)
0:22            Convert uint to float (temp float)
0:22              indirect index (temp uint)
0:22                'v4' (uniform 4-component vector of uint)
0:22                'i' (temp int)
0:21          Loop Terminal Expression
0:21          Pre-Increment (temp int)
0:21            'i' (temp int)
0:26      Sequence
0:26        Sequence
0:26          move second child to first child (temp int)
0:26            'i' (temp int)
0:26            Constant:
0:26              0 (const int)
0:26        Loop with condition tested first
0:26          Loop Condition
0:26          Compare Less Than (temp bool)
0:26            'i' (temp int)
0:26            Constant:
0:26              4 (const int)
0:26          Loop Body
0:27          move second child to first child (temp float)
0:27            indirect index (temp float)
0:27              'tv4' (temp 4-component vector of float)
0:27              'i' (temp int)
0:27            Convert uint to float (temp float)
0:27              component-wise multiply (temp uint)
0:27                indirect index (temp uint)
0:27                  'v4' (uniform 4-component vector of uint)
0:27                  'i' (temp int)
0:27                Constant:
0:27                  4 (const uint)
0:26          Loop Terminal Expression
0:26          Pre-Increment (temp int)
0:26            'i' (temp int)
0:29      add second child into first child (temp 4-component vector of float)
0:29        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:29        add (temp 4-component vector of float)
0:29          Construct vec4 (temp 4-component vector of float)
0:29            'sum' (temp float)
0:29          'tv4' (temp 4-component vector of float)
0:32      move second child to first child (temp 3-component vector of float)
0:32        vector swizzle (temp 3-component vector of float)
0:32          'r' (temp 4-component vector of float)
0:32          Sequence
0:32            Constant:
0:32              0 (const int)
0:32            Constant:
0:32              1 (const int)
0:32            Constant:
0:32              2 (const int)
0:32        vector swizzle (temp 3-component vector of float)
0:32          'BaseColor' (smooth in 4-component vector of float)
0:32          Sequence
0:32            Constant:
0:32              0 (const int)
0:32            Constant:
0:32              1 (const int)
0:32            Constant:
0:32              2 (const int)
0:34      Sequence
0:34        Sequence
0:34          move second child to first child (temp int)
0:34            'i' (temp int)
0:34            Constant:
0:34              0 (const int)
0:34        Loop with condition tested first
0:34          Loop Condition
0:34          Compare Less Than (temp bool)
0:34            'i' (temp int)
0:34            'Count' (uniform int)
0:34          Loop Body
0:35          move second child to first child (temp float)
0:35            direct index (temp float)
0:35              'r' (temp 4-component vector of float)
0:35              Constant:
0:35                3 (const int)
0:35            'f' (smooth in float)
0:34          Loop Terminal Expression
0:34          Pre-Increment (temp int)
0:34            'i' (temp int)
0:37      add second child into first child (temp 3-component vector of float)
0:37        vector swizzle (temp 3-component vector of float)
0:37          'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:37          Sequence
0:37            Constant:
0:37              0 (const int)
0:37            Constant:
0:37              1 (const int)
0:37            Constant:
0:37              2 (const int)
0:37        vector swizzle (temp 3-component vector of float)
0:37          'r' (temp 4-component vector of float)
0:37          Sequence
0:37            Constant:
0:37              0 (const int)
0:37            Constant:
0:37              1 (const int)
0:37            Constant:
0:37              2 (const int)
0:39      Sequence
0:39        Sequence
0:39          move second child to first child (temp int)
0:39            'i' (temp int)
0:39            Constant:
0:39              0 (const int)
0:39        Loop with condition tested first
0:39          Loop Condition
0:39          Compare Less Than (temp bool)
0:39            'i' (temp int)
0:39            Constant:
0:39              16 (const int)
0:39          Loop Body
0:40          vector scale second child into first child (temp 4-component vector of float)
0:40            'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:40            'f' (smooth in float)
0:39          Loop Terminal Expression
0:39          add second child into first child (temp int)
0:39            'i' (temp int)
0:39            Constant:
0:39              4 (const int)
0:?   Linker Objects
0:?     'bigColor' (uniform 4-component vector of float)
0:?     'BaseColor' (smooth in 4-component vector of float)
0:?     'f' (smooth in float)
0:?     'Count' (uniform int)
0:?     'v4' (uniform 4-component vector of uint)