summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/aggOps.frag.out
blob: 7a60fbc6d0377b0e542da8064d94b87bff16c27a (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
aggOps.frag
WARNING: 0:4: varying deprecated in version 130; may be removed in future release
WARNING: 0:6: varying deprecated in version 130; may be removed in future release

Shader version: 130
0:? Sequence
0:23  Function Definition: main( (global void)
0:23    Function Parameters: 
0:?     Sequence
0:27      move second child to first child (temp 3-element array of structure{global int i, global float f})
0:27        'a' (temp 3-element array of structure{global int i, global float f})
0:27        Construct structure (temp 3-element array of structure{global int i, global float f})
0:27          Construct structure (temp structure{global int i, global float f})
0:27            Convert float to int (temp int)
0:27              direct index (temp float)
0:27                'u' (smooth in 4-component vector of float)
0:27                Constant:
0:27                  0 (const int)
0:27            direct index (temp float)
0:27              'u' (smooth in 4-component vector of float)
0:27              Constant:
0:27                1 (const int)
0:27          Construct structure (temp structure{global int i, global float f})
0:27            Convert float to int (temp int)
0:27              direct index (temp float)
0:27                'u' (smooth in 4-component vector of float)
0:27                Constant:
0:27                  2 (const int)
0:27            direct index (temp float)
0:27              'u' (smooth in 4-component vector of float)
0:27              Constant:
0:27                3 (const int)
0:27          Constant:
0:27            14 (const int)
0:27            14.000000
0:28      move second child to first child (temp 3-element array of structure{global int i, global float f})
0:28        'b' (temp 3-element array of structure{global int i, global float f})
0:28        Construct structure (temp 3-element array of structure{global int i, global float f})
0:28          Constant:
0:28            17 (const int)
0:28            17.000000
0:28          Construct structure (temp structure{global int i, global float f})
0:28            Convert float to int (temp int)
0:28              direct index (temp float)
0:28                'w' (smooth in 4-component vector of float)
0:28                Constant:
0:28                  0 (const int)
0:28            direct index (temp float)
0:28              'w' (smooth in 4-component vector of float)
0:28              Constant:
0:28                1 (const int)
0:28          Construct structure (temp structure{global int i, global float f})
0:28            Convert float to int (temp int)
0:28              direct index (temp float)
0:28                'w' (smooth in 4-component vector of float)
0:28                Constant:
0:28                  2 (const int)
0:28            direct index (temp float)
0:28              'w' (smooth in 4-component vector of float)
0:28              Constant:
0:28                3 (const int)
0:30      Test condition and select (temp void)
0:30        Condition
0:30        Compare Equal (temp bool)
0:30          'foo2a' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:30          'foo2b' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:30        true case
0:31        move second child to first child (temp 4-component vector of float)
0:31          'v' (temp 4-component vector of float)
0:31          texture (global 4-component vector of float)
0:31            'sampler' (uniform sampler2D)
0:31            'coord' (smooth in 2-component vector of float)
0:30        false case
0:33        move second child to first child (temp 4-component vector of float)
0:33          'v' (temp 4-component vector of float)
0:33          texture (global 4-component vector of float)
0:33            'sampler' (uniform sampler2D)
0:33            vector-scale (temp 2-component vector of float)
0:33              Constant:
0:33                2.000000
0:33              'coord' (smooth in 2-component vector of float)
0:35      Test condition and select (temp void)
0:35        Condition
0:35        Compare Equal (temp bool)
0:35          'u' (smooth in 4-component vector of float)
0:35          'v' (temp 4-component vector of float)
0:35        true case
0:36        vector scale second child into first child (temp 4-component vector of float)
0:36          'v' (temp 4-component vector of float)
0:36          Constant:
0:36            3.000000
0:38      Test condition and select (temp void)
0:38        Condition
0:38        Compare Not Equal (temp bool)
0:38          'u' (smooth in 4-component vector of float)
0:38          'v' (temp 4-component vector of float)
0:38        true case
0:39        vector scale second child into first child (temp 4-component vector of float)
0:39          'v' (temp 4-component vector of float)
0:39          Constant:
0:39            4.000000
0:41      Test condition and select (temp void)
0:41        Condition
0:41        Compare Equal (temp bool)
0:41          'coord' (smooth in 2-component vector of float)
0:41          vector swizzle (temp 2-component vector of float)
0:41            'v' (temp 4-component vector of float)
0:41            Sequence
0:41              Constant:
0:41                1 (const int)
0:41              Constant:
0:41                3 (const int)
0:41        true case
0:42        vector scale second child into first child (temp 4-component vector of float)
0:42          'v' (temp 4-component vector of float)
0:42          Constant:
0:42            5.000000
0:44      Test condition and select (temp void)
0:44        Condition
0:44        Compare Equal (temp bool)
0:44          'a' (temp 3-element array of structure{global int i, global float f})
0:44          'b' (temp 3-element array of structure{global int i, global float f})
0:44        true case
0:45        vector scale second child into first child (temp 4-component vector of float)
0:45          'v' (temp 4-component vector of float)
0:45          Constant:
0:45            6.000000
0:47      Test condition and select (temp void)
0:47        Condition
0:47        Compare Not Equal (temp bool)
0:47          'a' (temp 3-element array of structure{global int i, global float f})
0:47          'b' (temp 3-element array of structure{global int i, global float f})
0:47        true case
0:48        vector scale second child into first child (temp 4-component vector of float)
0:48          'v' (temp 4-component vector of float)
0:48          Constant:
0:48            7.000000
0:50      move second child to first child (temp 4-component vector of float)
0:50        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:50        'v' (temp 4-component vector of float)
0:?   Linker Objects
0:?     'sampler' (uniform sampler2D)
0:?     'coord' (smooth in 2-component vector of float)
0:?     'u' (smooth in 4-component vector of float)
0:?     'w' (smooth in 4-component vector of float)
0:?     'foo1' (uniform structure{global int i, global float f})
0:?     'foo2a' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:?     'foo2b' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})


Linked fragment stage:


Shader version: 130
0:? Sequence
0:23  Function Definition: main( (global void)
0:23    Function Parameters: 
0:?     Sequence
0:27      move second child to first child (temp 3-element array of structure{global int i, global float f})
0:27        'a' (temp 3-element array of structure{global int i, global float f})
0:27        Construct structure (temp 3-element array of structure{global int i, global float f})
0:27          Construct structure (temp structure{global int i, global float f})
0:27            Convert float to int (temp int)
0:27              direct index (temp float)
0:27                'u' (smooth in 4-component vector of float)
0:27                Constant:
0:27                  0 (const int)
0:27            direct index (temp float)
0:27              'u' (smooth in 4-component vector of float)
0:27              Constant:
0:27                1 (const int)
0:27          Construct structure (temp structure{global int i, global float f})
0:27            Convert float to int (temp int)
0:27              direct index (temp float)
0:27                'u' (smooth in 4-component vector of float)
0:27                Constant:
0:27                  2 (const int)
0:27            direct index (temp float)
0:27              'u' (smooth in 4-component vector of float)
0:27              Constant:
0:27                3 (const int)
0:27          Constant:
0:27            14 (const int)
0:27            14.000000
0:28      move second child to first child (temp 3-element array of structure{global int i, global float f})
0:28        'b' (temp 3-element array of structure{global int i, global float f})
0:28        Construct structure (temp 3-element array of structure{global int i, global float f})
0:28          Constant:
0:28            17 (const int)
0:28            17.000000
0:28          Construct structure (temp structure{global int i, global float f})
0:28            Convert float to int (temp int)
0:28              direct index (temp float)
0:28                'w' (smooth in 4-component vector of float)
0:28                Constant:
0:28                  0 (const int)
0:28            direct index (temp float)
0:28              'w' (smooth in 4-component vector of float)
0:28              Constant:
0:28                1 (const int)
0:28          Construct structure (temp structure{global int i, global float f})
0:28            Convert float to int (temp int)
0:28              direct index (temp float)
0:28                'w' (smooth in 4-component vector of float)
0:28                Constant:
0:28                  2 (const int)
0:28            direct index (temp float)
0:28              'w' (smooth in 4-component vector of float)
0:28              Constant:
0:28                3 (const int)
0:30      Test condition and select (temp void)
0:30        Condition
0:30        Compare Equal (temp bool)
0:30          'foo2a' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:30          'foo2b' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:30        true case
0:31        move second child to first child (temp 4-component vector of float)
0:31          'v' (temp 4-component vector of float)
0:31          texture (global 4-component vector of float)
0:31            'sampler' (uniform sampler2D)
0:31            'coord' (smooth in 2-component vector of float)
0:30        false case
0:33        move second child to first child (temp 4-component vector of float)
0:33          'v' (temp 4-component vector of float)
0:33          texture (global 4-component vector of float)
0:33            'sampler' (uniform sampler2D)
0:33            vector-scale (temp 2-component vector of float)
0:33              Constant:
0:33                2.000000
0:33              'coord' (smooth in 2-component vector of float)
0:35      Test condition and select (temp void)
0:35        Condition
0:35        Compare Equal (temp bool)
0:35          'u' (smooth in 4-component vector of float)
0:35          'v' (temp 4-component vector of float)
0:35        true case
0:36        vector scale second child into first child (temp 4-component vector of float)
0:36          'v' (temp 4-component vector of float)
0:36          Constant:
0:36            3.000000
0:38      Test condition and select (temp void)
0:38        Condition
0:38        Compare Not Equal (temp bool)
0:38          'u' (smooth in 4-component vector of float)
0:38          'v' (temp 4-component vector of float)
0:38        true case
0:39        vector scale second child into first child (temp 4-component vector of float)
0:39          'v' (temp 4-component vector of float)
0:39          Constant:
0:39            4.000000
0:41      Test condition and select (temp void)
0:41        Condition
0:41        Compare Equal (temp bool)
0:41          'coord' (smooth in 2-component vector of float)
0:41          vector swizzle (temp 2-component vector of float)
0:41            'v' (temp 4-component vector of float)
0:41            Sequence
0:41              Constant:
0:41                1 (const int)
0:41              Constant:
0:41                3 (const int)
0:41        true case
0:42        vector scale second child into first child (temp 4-component vector of float)
0:42          'v' (temp 4-component vector of float)
0:42          Constant:
0:42            5.000000
0:44      Test condition and select (temp void)
0:44        Condition
0:44        Compare Equal (temp bool)
0:44          'a' (temp 3-element array of structure{global int i, global float f})
0:44          'b' (temp 3-element array of structure{global int i, global float f})
0:44        true case
0:45        vector scale second child into first child (temp 4-component vector of float)
0:45          'v' (temp 4-component vector of float)
0:45          Constant:
0:45            6.000000
0:47      Test condition and select (temp void)
0:47        Condition
0:47        Compare Not Equal (temp bool)
0:47          'a' (temp 3-element array of structure{global int i, global float f})
0:47          'b' (temp 3-element array of structure{global int i, global float f})
0:47        true case
0:48        vector scale second child into first child (temp 4-component vector of float)
0:48          'v' (temp 4-component vector of float)
0:48          Constant:
0:48            7.000000
0:50      move second child to first child (temp 4-component vector of float)
0:50        'gl_FragColor' (fragColor 4-component vector of float FragColor)
0:50        'v' (temp 4-component vector of float)
0:?   Linker Objects
0:?     'sampler' (uniform sampler2D)
0:?     'coord' (smooth in 2-component vector of float)
0:?     'u' (smooth in 4-component vector of float)
0:?     'w' (smooth in 4-component vector of float)
0:?     'foo1' (uniform structure{global int i, global float f})
0:?     'foo2a' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})
0:?     'foo2b' (uniform structure{global int i, global float f, global structure{global int i, global float f} s1_1})