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

Shader version: 400
0:? Sequence
0:5  Sequence
0:5    move second child to first child (temp int)
0:5      'c' (global int)
0:5      Constant:
0:5        0 (const int)
0:7  Function Definition: bar( (global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Test condition and select (temp void)
0:9        Condition
0:9        Constant:
0:9          false (const bool)
0:9        true case
0:10        Pre-Increment (temp int)
0:10          'c' (global int)
0:9        false case
0:12        Pre-Increment (temp int)
0:12          'c' (global int)
0:14      Test condition and select (temp int)
0:14        Condition
0:14        Constant:
0:14          false (const bool)
0:14        true case
0:14        Pre-Increment (temp int)
0:14          'c' (global int)
0:14        false case
0:14        Pre-Increment (temp int)
0:14          'c' (global int)
0:16      switch
0:16      condition
0:16        'c' (global int)
0:16      body
0:16        Sequence
0:17          case:  with expression
0:17            Constant:
0:17              1 (const int)
0:?           Sequence
0:18            Pre-Increment (temp int)
0:18              'c' (global int)
0:19            Branch: Break
0:20            Pre-Increment (temp int)
0:20              'c' (global int)
0:21          case:  with expression
0:21            Constant:
0:21              2 (const int)
0:?           Sequence
0:22            Branch: Break
0:23            Pre-Increment (temp int)
0:23              'c' (global int)
0:24          default: 
0:?           Sequence
0:25            Branch: Break
0:28      Sequence
0:28        Sequence
0:28          move second child to first child (temp int)
0:28            'i' (temp int)
0:28            Constant:
0:28              0 (const int)
0:28        Loop with condition tested first
0:28          Loop Condition
0:28          Compare Less Than (temp bool)
0:28            'i' (temp int)
0:28            Constant:
0:28              0 (const int)
0:28          Loop Body
0:29          Pre-Increment (temp int)
0:29            'c' (global int)
0:28          Loop Terminal Expression
0:28          Pre-Increment (temp int)
0:28            'i' (temp int)
0:31      Sequence
0:31        Sequence
0:31          move second child to first child (temp int)
0:31            'i' (temp int)
0:31            Constant:
0:31              0 (const int)
0:31        Loop with condition tested first
0:31          Loop Condition
0:31          Compare Less Than (temp bool)
0:31            'i' (temp int)
0:31            Constant:
0:31              10 (const int)
0:31          Loop Body
0:32          Sequence
0:32            Test condition and select (temp void)
0:32              Condition
0:32              Compare Less Than (temp bool)
0:32                'c' (global int)
0:32                Constant:
0:32                  3 (const int)
0:32              true case
0:33              Sequence
0:33                Branch: Break
0:34                Pre-Increment (temp int)
0:34                  'c' (global int)
0:32              false case
0:36              Sequence
0:36                Branch: Continue
0:37                Pre-Increment (temp int)
0:37                  'c' (global int)
0:31          Loop Terminal Expression
0:31          Pre-Increment (temp int)
0:31            'i' (temp int)
0:41      Branch: Return
0:43      Pre-Increment (temp int)
0:43        'c' (global int)
0:46  Function Definition: foo( (global int)
0:46    Function Parameters: 
0:48    Sequence
0:48      Test condition and select (temp void)
0:48        Condition
0:48        Compare Greater Than (temp bool)
0:48          'c' (global int)
0:48          Constant:
0:48            4 (const int)
0:48        true case
0:49        Sequence
0:49          Branch: Return with expression
0:49            Constant:
0:49              4 (const int)
0:50          Pre-Increment (temp int)
0:50            'c' (global int)
0:53      Branch: Return with expression
0:53        Constant:
0:53          5 (const int)
0:55      Pre-Increment (temp int)
0:55        'c' (global int)
0:?   Linker Objects
0:?     'flag' (const bool)
0:?       false (const bool)
0:?     'c' (global int)


Linked fragment stage:

ERROR: Linking fragment stage: Missing entry point: Each stage requires one "void main()" entry point

Shader version: 400
0:? Sequence
0:5  Sequence
0:5    move second child to first child (temp int)
0:5      'c' (global int)
0:5      Constant:
0:5        0 (const int)
0:7  Function Definition: bar( (global void)
0:7    Function Parameters: 
0:9    Sequence
0:9      Test condition and select (temp void)
0:9        Condition
0:9        Constant:
0:9          false (const bool)
0:9        true case
0:10        Pre-Increment (temp int)
0:10          'c' (global int)
0:9        false case
0:12        Pre-Increment (temp int)
0:12          'c' (global int)
0:14      Test condition and select (temp int)
0:14        Condition
0:14        Constant:
0:14          false (const bool)
0:14        true case
0:14        Pre-Increment (temp int)
0:14          'c' (global int)
0:14        false case
0:14        Pre-Increment (temp int)
0:14          'c' (global int)
0:16      switch
0:16      condition
0:16        'c' (global int)
0:16      body
0:16        Sequence
0:17          case:  with expression
0:17            Constant:
0:17              1 (const int)
0:?           Sequence
0:18            Pre-Increment (temp int)
0:18              'c' (global int)
0:19            Branch: Break
0:20            Pre-Increment (temp int)
0:20              'c' (global int)
0:21          case:  with expression
0:21            Constant:
0:21              2 (const int)
0:?           Sequence
0:22            Branch: Break
0:23            Pre-Increment (temp int)
0:23              'c' (global int)
0:24          default: 
0:?           Sequence
0:25            Branch: Break
0:28      Sequence
0:28        Sequence
0:28          move second child to first child (temp int)
0:28            'i' (temp int)
0:28            Constant:
0:28              0 (const int)
0:28        Loop with condition tested first
0:28          Loop Condition
0:28          Compare Less Than (temp bool)
0:28            'i' (temp int)
0:28            Constant:
0:28              0 (const int)
0:28          Loop Body
0:29          Pre-Increment (temp int)
0:29            'c' (global int)
0:28          Loop Terminal Expression
0:28          Pre-Increment (temp int)
0:28            'i' (temp int)
0:31      Sequence
0:31        Sequence
0:31          move second child to first child (temp int)
0:31            'i' (temp int)
0:31            Constant:
0:31              0 (const int)
0:31        Loop with condition tested first
0:31          Loop Condition
0:31          Compare Less Than (temp bool)
0:31            'i' (temp int)
0:31            Constant:
0:31              10 (const int)
0:31          Loop Body
0:32          Sequence
0:32            Test condition and select (temp void)
0:32              Condition
0:32              Compare Less Than (temp bool)
0:32                'c' (global int)
0:32                Constant:
0:32                  3 (const int)
0:32              true case
0:33              Sequence
0:33                Branch: Break
0:34                Pre-Increment (temp int)
0:34                  'c' (global int)
0:32              false case
0:36              Sequence
0:36                Branch: Continue
0:37                Pre-Increment (temp int)
0:37                  'c' (global int)
0:31          Loop Terminal Expression
0:31          Pre-Increment (temp int)
0:31            'i' (temp int)
0:41      Branch: Return
0:43      Pre-Increment (temp int)
0:43        'c' (global int)
0:46  Function Definition: foo( (global int)
0:46    Function Parameters: 
0:48    Sequence
0:48      Test condition and select (temp void)
0:48        Condition
0:48        Compare Greater Than (temp bool)
0:48          'c' (global int)
0:48          Constant:
0:48            4 (const int)
0:48        true case
0:49        Sequence
0:49          Branch: Return with expression
0:49            Constant:
0:49              4 (const int)
0:50          Pre-Increment (temp int)
0:50            'c' (global int)
0:53      Branch: Return with expression
0:53        Constant:
0:53          5 (const int)
0:55      Pre-Increment (temp int)
0:55        'c' (global int)
0:?   Linker Objects
0:?     'flag' (const bool)
0:?       false (const bool)
0:?     'c' (global int)