summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/glslang/src/Test/baseResults/100scope.vert.out
blob: 2b542b0c6791e7da1f9e00f61d4c6c366665a212 (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
100scope.vert
ERROR: 0:5: 'a' : redefinition 
ERROR: 0:17: 'b' : function name is redeclaration of existing name 
ERROR: 0:20: 'c' : redefinition 
ERROR: 0:22: 'f' : redefinition 
ERROR: 0:24: 'redefinition of built-in function' : not supported with this profile: es
ERROR: 0:24: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1
ERROR: 0:25: 'redefinition of built-in function' : not supported with this profile: es
ERROR: 0:25: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1
ERROR: 0:38: 'local function declaration' : not supported with this profile: es
ERROR: 0:43: 'sin' : can't use function syntax on variable 
ERROR: 0:57: 'z' : undeclared identifier 
ERROR: 0:57: 'z' : redefinition 
ERROR: 0:73: 'degrees' : can't use function syntax on variable 
ERROR: 0:76: 'vertex-shader struct output' : not supported for this version or the enabled extensions 
ERROR: 14 compilation errors.  No code generated.


Shader version: 100
ERROR: node is still EOpNull!
0:3  Function Definition: f(i1;i1;i1; (global highp int)
0:3    Function Parameters: 
0:3      'a' (in highp int)
0:3      'b' (in highp int)
0:3      'c' (in highp int)
0:?     Sequence
0:8      Sequence
0:8        Sequence
0:8          move second child to first child (temp highp float)
0:8            'a' (temp highp float)
0:8            add (temp highp float)
0:8              Convert int to float (temp highp float)
0:8                'a' (in highp int)
0:8              Constant:
0:8                1.000000
0:11      Branch: Return with expression
0:11        'a' (in highp int)
0:25  Function Definition: cos(f1; (global highp float)
0:25    Function Parameters: 
0:25      'x' (in highp float)
0:27    Sequence
0:27      Branch: Return with expression
0:27        Constant:
0:27          1.000000
0:29  Function Definition: radians(b1; (global bool)
0:29    Function Parameters: 
0:29      'x' (in bool)
0:31    Sequence
0:31      Branch: Return with expression
0:31        Constant:
0:31          true (const bool)
0:36  Function Definition: main( (global void)
0:36    Function Parameters: 
0:?     Sequence
0:39      Function Call: g( (temp highp int)
0:42      'sin' (temp highp float)
0:43      Constant:
0:43        0.000000
0:44      Function Call: f(i1;i1;i1; (global highp int)
0:44        Constant:
0:44          1 (const int)
0:44        Constant:
0:44          2 (const int)
0:44        Constant:
0:44          3 (const int)
0:47      move second child to first child (temp highp float)
0:47        'f' (temp highp float)
0:47        Constant:
0:47          3.000000
0:49      move second child to first child (temp highp 4-component vector of float)
0:49        'gl_Position' (invariant gl_Position highp 4-component vector of float Position)
0:49        Construct vec4 (temp highp 4-component vector of float)
0:49          'f' (temp highp float)
0:51      Sequence
0:51        Sequence
0:51          move second child to first child (temp highp int)
0:51            'f' (temp highp int)
0:51            Constant:
0:51              0 (const int)
0:51        Loop with condition tested first
0:51          Loop Condition
0:51          Compare Less Than (temp bool)
0:51            'f' (temp highp int)
0:51            Constant:
0:51              10 (const int)
0:51          Loop Body
0:52          Pre-Increment (temp highp int)
0:52            'f' (temp highp int)
0:51          Loop Terminal Expression
0:51          Pre-Increment (temp highp int)
0:51            'f' (temp highp int)
0:54      Sequence
0:54        move second child to first child (temp highp int)
0:54          'x' (temp highp int)
0:54          Constant:
0:54            1 (const int)
0:56      Sequence
0:56        Sequence
0:56          move second child to first child (temp highp float)
0:56            'x' (temp highp float)
0:56            Constant:
0:56              2.000000
0:56          move second child to first child (temp highp float)
0:56            'y' (temp highp float)
0:56            'x' (temp highp float)
0:60      Sequence
0:60        Sequence
0:60          move second child to first child (temp highp int)
0:60            'x' (temp highp int)
0:60            'x' (temp highp int)
0:68      Sequence
0:68        Sequence
0:68          move second child to first child (temp structure{temp highp int x})
0:68            'S' (temp structure{temp highp int x})
0:68            Constant:
0:68              0 (const int)
0:69        x: direct index for structure (temp highp int)
0:69          'S' (temp structure{temp highp int x})
0:69          Constant:
0:69            0 (const int)
0:73      Constant:
0:73        0.000000
0:?   Linker Objects
0:?     'b' (global bool)
0:?     'tan' (global highp float)
0:?     's' (smooth out structure{global highp float f})


Linked vertex stage:


Shader version: 100
ERROR: node is still EOpNull!
0:3  Function Definition: f(i1;i1;i1; (global highp int)
0:3    Function Parameters: 
0:3      'a' (in highp int)
0:3      'b' (in highp int)
0:3      'c' (in highp int)
0:?     Sequence
0:8      Sequence
0:8        Sequence
0:8          move second child to first child (temp highp float)
0:8            'a' (temp highp float)
0:8            add (temp highp float)
0:8              Convert int to float (temp highp float)
0:8                'a' (in highp int)
0:8              Constant:
0:8                1.000000
0:11      Branch: Return with expression
0:11        'a' (in highp int)
0:25  Function Definition: cos(f1; (global highp float)
0:25    Function Parameters: 
0:25      'x' (in highp float)
0:27    Sequence
0:27      Branch: Return with expression
0:27        Constant:
0:27          1.000000
0:29  Function Definition: radians(b1; (global bool)
0:29    Function Parameters: 
0:29      'x' (in bool)
0:31    Sequence
0:31      Branch: Return with expression
0:31        Constant:
0:31          true (const bool)
0:36  Function Definition: main( (global void)
0:36    Function Parameters: 
0:?     Sequence
0:39      Function Call: g( (temp highp int)
0:42      'sin' (temp highp float)
0:43      Constant:
0:43        0.000000
0:44      Function Call: f(i1;i1;i1; (global highp int)
0:44        Constant:
0:44          1 (const int)
0:44        Constant:
0:44          2 (const int)
0:44        Constant:
0:44          3 (const int)
0:47      move second child to first child (temp highp float)
0:47        'f' (temp highp float)
0:47        Constant:
0:47          3.000000
0:49      move second child to first child (temp highp 4-component vector of float)
0:49        'gl_Position' (invariant gl_Position highp 4-component vector of float Position)
0:49        Construct vec4 (temp highp 4-component vector of float)
0:49          'f' (temp highp float)
0:51      Sequence
0:51        Sequence
0:51          move second child to first child (temp highp int)
0:51            'f' (temp highp int)
0:51            Constant:
0:51              0 (const int)
0:51        Loop with condition tested first
0:51          Loop Condition
0:51          Compare Less Than (temp bool)
0:51            'f' (temp highp int)
0:51            Constant:
0:51              10 (const int)
0:51          Loop Body
0:52          Pre-Increment (temp highp int)
0:52            'f' (temp highp int)
0:51          Loop Terminal Expression
0:51          Pre-Increment (temp highp int)
0:51            'f' (temp highp int)
0:54      Sequence
0:54        move second child to first child (temp highp int)
0:54          'x' (temp highp int)
0:54          Constant:
0:54            1 (const int)
0:56      Sequence
0:56        Sequence
0:56          move second child to first child (temp highp float)
0:56            'x' (temp highp float)
0:56            Constant:
0:56              2.000000
0:56          move second child to first child (temp highp float)
0:56            'y' (temp highp float)
0:56            'x' (temp highp float)
0:60      Sequence
0:60        Sequence
0:60          move second child to first child (temp highp int)
0:60            'x' (temp highp int)
0:60            'x' (temp highp int)
0:68      Sequence
0:68        Sequence
0:68          move second child to first child (temp structure{temp highp int x})
0:68            'S' (temp structure{temp highp int x})
0:68            Constant:
0:68              0 (const int)
0:69        x: direct index for structure (temp highp int)
0:69          'S' (temp structure{temp highp int x})
0:69          Constant:
0:69            0 (const int)
0:73      Constant:
0:73        0.000000
0:?   Linker Objects
0:?     'b' (global bool)
0:?     'tan' (global highp float)
0:?     's' (smooth out structure{global highp float f})