summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/450.frag.out
blob: 23682e8a17aa9df7adb4df446aed89987722e969 (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
450.frag
Warning, version 450 is not yet complete; most version-specific features are present, but some are missing.

Shader version: 450
0:? Sequence
0:8  Function Definition: main( (global void)
0:8    Function Parameters: 
0:10    Sequence
0:10      Sequence
0:10        move second child to first child (temp 2-component vector of float)
0:10          'v2' (temp 2-component vector of float)
0:10          dPdxFine (global 2-component vector of float)
0:10            'in2' (smooth in 2-component vector of float)
0:11      Sequence
0:11        move second child to first child (temp 3-component vector of float)
0:11          'v3' (temp 3-component vector of float)
0:11          dPdyCoarse (global 3-component vector of float)
0:11            'in3' (smooth in 3-component vector of float)
0:12      Sequence
0:12        move second child to first child (temp 4-component vector of float)
0:12          'v4' (temp 4-component vector of float)
0:12          fwidth (global 4-component vector of float)
0:12            'in4' (smooth in 4-component vector of float)
0:13      move second child to first child (temp 4-component vector of float)
0:13        'v4' (temp 4-component vector of float)
0:13        dPdyFine (global 4-component vector of float)
0:13          'in4' (smooth in 4-component vector of float)
0:14      move second child to first child (temp 3-component vector of float)
0:14        'v3' (temp 3-component vector of float)
0:14        dPdyFine (global 3-component vector of float)
0:14          'in3' (smooth in 3-component vector of float)
0:15      Sequence
0:15        move second child to first child (temp float)
0:15          'f' (temp float)
0:15          add (temp float)
0:15            add (temp float)
0:15              dPdx (global float)
0:15                'in1' (smooth in float)
0:15              dPdxFine (global float)
0:15                'in1' (smooth in float)
0:15            dPdxCoarse (global float)
0:15              'in1' (smooth in float)
0:16      move second child to first child (temp 4-component vector of float)
0:16        'v4' (temp 4-component vector of float)
0:16        add (temp 4-component vector of float)
0:16          fwidthCoarse (global 4-component vector of float)
0:16            'in4' (smooth in 4-component vector of float)
0:16          fwidthFine (global 4-component vector of float)
0:16            'in4' (smooth in 4-component vector of float)
0:18      Sequence
0:18        move second child to first child (temp float)
0:18          'cull' (temp float)
0:18          direct index (smooth temp float CullDistance)
0:18            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:18            Constant:
0:18              2 (const int)
0:19      Sequence
0:19        move second child to first child (temp float)
0:19          'consts' (temp float)
0:19          Constant:
0:19            20.000000
0:21      Test condition and select (temp void)
0:21        Condition
0:21        'gl_HelperInvocation' (in bool HelperInvocation)
0:21        true case
0:22        Pre-Increment (temp 4-component vector of float)
0:22          'v4' (temp 4-component vector of float)
0:24      Sequence
0:24        move second child to first child (temp int)
0:24          'sum' (temp int)
0:24          Constant:
0:24            32 (const int)
0:32      Sequence
0:32        move second child to first child (temp 2-component vector of bool)
0:32          'b2' (temp 2-component vector of bool)
0:32          mix (global 2-component vector of bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b1' (temp bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b3' (temp bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b' (temp bool)
0:33      Sequence
0:33        move second child to first child (temp uint)
0:33          'um' (temp uint)
0:33          mix (global uint)
0:33            'uin' (temp uint)
0:33            'uin' (temp uint)
0:33            'b' (temp bool)
0:34      Sequence
0:34        move second child to first child (temp 3-component vector of int)
0:34          'im3' (temp 3-component vector of int)
0:34          mix (global 3-component vector of int)
0:34            Construct ivec3 (temp 3-component vector of int)
0:34              Convert uint to int (temp int)
0:34                'uin' (temp uint)
0:34            Construct ivec3 (temp 3-component vector of int)
0:34              Convert uint to int (temp int)
0:34                'uin' (temp uint)
0:34            Construct bvec3 (temp 3-component vector of bool)
0:34              'b' (temp bool)
0:42  Function Definition: foo( (global void)
0:42    Function Parameters: 
0:44    Sequence
0:44      Sequence
0:44        move second child to first child (temp int)
0:44          's' (temp int)
0:44          textureSamples (global int)
0:44            's2dms' (uniform sampler2DMS)
0:45      add second child into first child (temp int)
0:45        's' (temp int)
0:45        textureSamples (global int)
0:45          'us2dmsa' (uniform usampler2DMSArray)
0:46      add second child into first child (temp int)
0:46        's' (temp int)
0:46        imageQuerySamples (global int)
0:46          'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
0:47      add second child into first child (temp int)
0:47        's' (temp int)
0:47        imageQuerySamples (global int)
0:47          'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
0:48      Sequence
0:48        move second child to first child (temp float)
0:48          'f' (temp float)
0:48          imageAtomicExchange (global float)
0:48            'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
0:48            Convert float to int (temp 3-component vector of int)
0:48              'in3' (smooth in 3-component vector of float)
0:48            Constant:
0:48              2 (const int)
0:48            Constant:
0:48              4.500000
0:53  Function Definition: cull(i1; (global float)
0:53    Function Parameters: 
0:53      'i' (in int)
0:55    Sequence
0:55      Branch: Return with expression
0:55        Test condition and select (temp float)
0:55          Condition
0:55          Compare Greater Than or Equal (temp bool)
0:55            'i' (in int)
0:55            Constant:
0:55              6 (const int)
0:55          true case
0:55          direct index (smooth temp float CullDistance)
0:55            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:55            Constant:
0:55              5 (const int)
0:55          false case
0:55          indirect index (smooth temp float CullDistance)
0:55            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:55            'i' (in int)
0:?   Linker Objects
0:?     'in1' (smooth in float)
0:?     'in2' (smooth in 2-component vector of float)
0:?     'in3' (smooth in 3-component vector of float)
0:?     'in4' (smooth in 4-component vector of float)
0:?     'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:?     's2dms' (uniform sampler2DMS)
0:?     'us2dmsa' (uniform usampler2DMSArray)
0:?     'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
0:?     'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)


Linked fragment stage:


Shader version: 450
0:? Sequence
0:8  Function Definition: main( (global void)
0:8    Function Parameters: 
0:10    Sequence
0:10      Sequence
0:10        move second child to first child (temp 2-component vector of float)
0:10          'v2' (temp 2-component vector of float)
0:10          dPdxFine (global 2-component vector of float)
0:10            'in2' (smooth in 2-component vector of float)
0:11      Sequence
0:11        move second child to first child (temp 3-component vector of float)
0:11          'v3' (temp 3-component vector of float)
0:11          dPdyCoarse (global 3-component vector of float)
0:11            'in3' (smooth in 3-component vector of float)
0:12      Sequence
0:12        move second child to first child (temp 4-component vector of float)
0:12          'v4' (temp 4-component vector of float)
0:12          fwidth (global 4-component vector of float)
0:12            'in4' (smooth in 4-component vector of float)
0:13      move second child to first child (temp 4-component vector of float)
0:13        'v4' (temp 4-component vector of float)
0:13        dPdyFine (global 4-component vector of float)
0:13          'in4' (smooth in 4-component vector of float)
0:14      move second child to first child (temp 3-component vector of float)
0:14        'v3' (temp 3-component vector of float)
0:14        dPdyFine (global 3-component vector of float)
0:14          'in3' (smooth in 3-component vector of float)
0:15      Sequence
0:15        move second child to first child (temp float)
0:15          'f' (temp float)
0:15          add (temp float)
0:15            add (temp float)
0:15              dPdx (global float)
0:15                'in1' (smooth in float)
0:15              dPdxFine (global float)
0:15                'in1' (smooth in float)
0:15            dPdxCoarse (global float)
0:15              'in1' (smooth in float)
0:16      move second child to first child (temp 4-component vector of float)
0:16        'v4' (temp 4-component vector of float)
0:16        add (temp 4-component vector of float)
0:16          fwidthCoarse (global 4-component vector of float)
0:16            'in4' (smooth in 4-component vector of float)
0:16          fwidthFine (global 4-component vector of float)
0:16            'in4' (smooth in 4-component vector of float)
0:18      Sequence
0:18        move second child to first child (temp float)
0:18          'cull' (temp float)
0:18          direct index (smooth temp float CullDistance)
0:18            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:18            Constant:
0:18              2 (const int)
0:19      Sequence
0:19        move second child to first child (temp float)
0:19          'consts' (temp float)
0:19          Constant:
0:19            20.000000
0:21      Test condition and select (temp void)
0:21        Condition
0:21        'gl_HelperInvocation' (in bool HelperInvocation)
0:21        true case
0:22        Pre-Increment (temp 4-component vector of float)
0:22          'v4' (temp 4-component vector of float)
0:24      Sequence
0:24        move second child to first child (temp int)
0:24          'sum' (temp int)
0:24          Constant:
0:24            32 (const int)
0:32      Sequence
0:32        move second child to first child (temp 2-component vector of bool)
0:32          'b2' (temp 2-component vector of bool)
0:32          mix (global 2-component vector of bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b1' (temp bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b3' (temp bool)
0:32            Construct bvec2 (temp 2-component vector of bool)
0:32              'b' (temp bool)
0:33      Sequence
0:33        move second child to first child (temp uint)
0:33          'um' (temp uint)
0:33          mix (global uint)
0:33            'uin' (temp uint)
0:33            'uin' (temp uint)
0:33            'b' (temp bool)
0:34      Sequence
0:34        move second child to first child (temp 3-component vector of int)
0:34          'im3' (temp 3-component vector of int)
0:34          mix (global 3-component vector of int)
0:34            Construct ivec3 (temp 3-component vector of int)
0:34              Convert uint to int (temp int)
0:34                'uin' (temp uint)
0:34            Construct ivec3 (temp 3-component vector of int)
0:34              Convert uint to int (temp int)
0:34                'uin' (temp uint)
0:34            Construct bvec3 (temp 3-component vector of bool)
0:34              'b' (temp bool)
0:42  Function Definition: foo( (global void)
0:42    Function Parameters: 
0:44    Sequence
0:44      Sequence
0:44        move second child to first child (temp int)
0:44          's' (temp int)
0:44          textureSamples (global int)
0:44            's2dms' (uniform sampler2DMS)
0:45      add second child into first child (temp int)
0:45        's' (temp int)
0:45        textureSamples (global int)
0:45          'us2dmsa' (uniform usampler2DMSArray)
0:46      add second child into first child (temp int)
0:46        's' (temp int)
0:46        imageQuerySamples (global int)
0:46          'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
0:47      add second child into first child (temp int)
0:47        's' (temp int)
0:47        imageQuerySamples (global int)
0:47          'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
0:48      Sequence
0:48        move second child to first child (temp float)
0:48          'f' (temp float)
0:48          imageAtomicExchange (global float)
0:48            'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
0:48            Convert float to int (temp 3-component vector of int)
0:48              'in3' (smooth in 3-component vector of float)
0:48            Constant:
0:48              2 (const int)
0:48            Constant:
0:48              4.500000
0:53  Function Definition: cull(i1; (global float)
0:53    Function Parameters: 
0:53      'i' (in int)
0:55    Sequence
0:55      Branch: Return with expression
0:55        Test condition and select (temp float)
0:55          Condition
0:55          Compare Greater Than or Equal (temp bool)
0:55            'i' (in int)
0:55            Constant:
0:55              6 (const int)
0:55          true case
0:55          direct index (smooth temp float CullDistance)
0:55            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:55            Constant:
0:55              5 (const int)
0:55          false case
0:55          indirect index (smooth temp float CullDistance)
0:55            'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:55            'i' (in int)
0:?   Linker Objects
0:?     'in1' (smooth in float)
0:?     'in2' (smooth in 2-component vector of float)
0:?     'in3' (smooth in 3-component vector of float)
0:?     'in4' (smooth in 4-component vector of float)
0:?     'gl_CullDistance' (smooth in 6-element array of float CullDistance)
0:?     's2dms' (uniform sampler2DMS)
0:?     'us2dmsa' (uniform usampler2DMSArray)
0:?     'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
0:?     'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)