0a3089de31e3c26be1bb7088f12c9fef393cca87
[platform/upstream/glslang.git] / Test / baseResults / 110scope.vert.out
1 110scope.vert\r
2 ERROR: 0:5: 'a' : redefinition \r
3 ERROR: 0:57: 'z' : undeclared identifier \r
4 ERROR: 0:57: 'z' : redefinition \r
5 ERROR: 3 compilation errors.  No code generated.\r
6 \r
7 \r
8 Shader version: 110\r
9 ERROR: node is still EOpNull!\r
10 0:3  Function Definition: f(i1;i1;i1; (global int)\r
11 0:3    Function Parameters: \r
12 0:3      'a' (in int)\r
13 0:3      'b' (in int)\r
14 0:3      'c' (in int)\r
15 0:?     Sequence\r
16 0:8      Sequence\r
17 0:8        Sequence\r
18 0:8          move second child to first child (temp float)\r
19 0:8            'a' (temp float)\r
20 0:8            add (temp float)\r
21 0:8              Convert int to float (temp float)\r
22 0:8                'a' (in int)\r
23 0:8              Constant:\r
24 0:8                1.000000\r
25 0:11      Branch: Return with expression\r
26 0:11        'a' (in int)\r
27 0:25  Function Definition: cos(f1; (global float)\r
28 0:25    Function Parameters: \r
29 0:25      'x' (in float)\r
30 0:27    Sequence\r
31 0:27      Branch: Return with expression\r
32 0:27        Constant:\r
33 0:27          1.000000\r
34 0:29  Function Definition: radians(b1; (global bool)\r
35 0:29    Function Parameters: \r
36 0:29      'x' (in bool)\r
37 0:31    Sequence\r
38 0:31      Branch: Return with expression\r
39 0:31        Constant:\r
40 0:31          true (const bool)\r
41 0:36  Function Definition: main( (global void)\r
42 0:36    Function Parameters: \r
43 0:?     Sequence\r
44 0:39      Function Call: g( (temp int)\r
45 0:42      'sin' (temp float)\r
46 0:43      Function Call: sin(f1; (global float)\r
47 0:43        Constant:\r
48 0:43          0.700000\r
49 0:44      Function Call: f(i1;i1;i1; (global int)\r
50 0:44        Constant:\r
51 0:44          1 (const int)\r
52 0:44        Constant:\r
53 0:44          2 (const int)\r
54 0:44        Constant:\r
55 0:44          3 (const int)\r
56 0:47      move second child to first child (temp float)\r
57 0:47        'f' (temp float)\r
58 0:47        Constant:\r
59 0:47          3.000000\r
60 0:49      move second child to first child (temp 4-component vector of float)\r
61 0:49        'gl_Position' (gl_Position 4-component vector of float Position)\r
62 0:49        Construct vec4 (temp 4-component vector of float)\r
63 0:49          'f' (temp float)\r
64 0:51      Sequence\r
65 0:51        Sequence\r
66 0:51          move second child to first child (temp int)\r
67 0:51            'f' (temp int)\r
68 0:51            Constant:\r
69 0:51              0 (const int)\r
70 0:51        Loop with condition tested first\r
71 0:51          Loop Condition\r
72 0:51          Compare Less Than (temp bool)\r
73 0:51            'f' (temp int)\r
74 0:51            Constant:\r
75 0:51              10 (const int)\r
76 0:51          Loop Body\r
77 0:52          Pre-Increment (temp int)\r
78 0:52            'f' (temp int)\r
79 0:51          Loop Terminal Expression\r
80 0:51          Pre-Increment (temp int)\r
81 0:51            'f' (temp int)\r
82 0:54      Sequence\r
83 0:54        move second child to first child (temp int)\r
84 0:54          'x' (temp int)\r
85 0:54          Constant:\r
86 0:54            1 (const int)\r
87 0:56      Sequence\r
88 0:56        Sequence\r
89 0:56          move second child to first child (temp float)\r
90 0:56            'x' (temp float)\r
91 0:56            Constant:\r
92 0:56              2.000000\r
93 0:56          move second child to first child (temp float)\r
94 0:56            'y' (temp float)\r
95 0:56            'x' (temp float)\r
96 0:60      Sequence\r
97 0:60        Sequence\r
98 0:60          move second child to first child (temp int)\r
99 0:60            'x' (temp int)\r
100 0:60            'x' (temp int)\r
101 0:68      Sequence\r
102 0:68        Sequence\r
103 0:68          move second child to first child (temp structure{temp int x})\r
104 0:68            'S' (temp structure{temp int x})\r
105 0:68            Constant:\r
106 0:68              0 (const int)\r
107 0:69        x: direct index for structure (temp int)\r
108 0:69          'S' (temp structure{temp int x})\r
109 0:69          Constant:\r
110 0:69            0 (const int)\r
111 0:73      Constant:\r
112 0:73        183.346494\r
113 0:?   Linker Objects\r
114 0:?     'b' (global bool)\r
115 0:?     'c' (global bool)\r
116 0:?     'f' (global float)\r
117 0:?     'tan' (global float)\r
118 \r
119 \r
120 Linked vertex stage:\r
121 \r
122 \r
123 Shader version: 110\r
124 ERROR: node is still EOpNull!\r
125 0:3  Function Definition: f(i1;i1;i1; (global int)\r
126 0:3    Function Parameters: \r
127 0:3      'a' (in int)\r
128 0:3      'b' (in int)\r
129 0:3      'c' (in int)\r
130 0:?     Sequence\r
131 0:8      Sequence\r
132 0:8        Sequence\r
133 0:8          move second child to first child (temp float)\r
134 0:8            'a' (temp float)\r
135 0:8            add (temp float)\r
136 0:8              Convert int to float (temp float)\r
137 0:8                'a' (in int)\r
138 0:8              Constant:\r
139 0:8                1.000000\r
140 0:11      Branch: Return with expression\r
141 0:11        'a' (in int)\r
142 0:25  Function Definition: cos(f1; (global float)\r
143 0:25    Function Parameters: \r
144 0:25      'x' (in float)\r
145 0:27    Sequence\r
146 0:27      Branch: Return with expression\r
147 0:27        Constant:\r
148 0:27          1.000000\r
149 0:29  Function Definition: radians(b1; (global bool)\r
150 0:29    Function Parameters: \r
151 0:29      'x' (in bool)\r
152 0:31    Sequence\r
153 0:31      Branch: Return with expression\r
154 0:31        Constant:\r
155 0:31          true (const bool)\r
156 0:36  Function Definition: main( (global void)\r
157 0:36    Function Parameters: \r
158 0:?     Sequence\r
159 0:39      Function Call: g( (temp int)\r
160 0:42      'sin' (temp float)\r
161 0:43      Function Call: sin(f1; (global float)\r
162 0:43        Constant:\r
163 0:43          0.700000\r
164 0:44      Function Call: f(i1;i1;i1; (global int)\r
165 0:44        Constant:\r
166 0:44          1 (const int)\r
167 0:44        Constant:\r
168 0:44          2 (const int)\r
169 0:44        Constant:\r
170 0:44          3 (const int)\r
171 0:47      move second child to first child (temp float)\r
172 0:47        'f' (temp float)\r
173 0:47        Constant:\r
174 0:47          3.000000\r
175 0:49      move second child to first child (temp 4-component vector of float)\r
176 0:49        'gl_Position' (gl_Position 4-component vector of float Position)\r
177 0:49        Construct vec4 (temp 4-component vector of float)\r
178 0:49          'f' (temp float)\r
179 0:51      Sequence\r
180 0:51        Sequence\r
181 0:51          move second child to first child (temp int)\r
182 0:51            'f' (temp int)\r
183 0:51            Constant:\r
184 0:51              0 (const int)\r
185 0:51        Loop with condition tested first\r
186 0:51          Loop Condition\r
187 0:51          Compare Less Than (temp bool)\r
188 0:51            'f' (temp int)\r
189 0:51            Constant:\r
190 0:51              10 (const int)\r
191 0:51          Loop Body\r
192 0:52          Pre-Increment (temp int)\r
193 0:52            'f' (temp int)\r
194 0:51          Loop Terminal Expression\r
195 0:51          Pre-Increment (temp int)\r
196 0:51            'f' (temp int)\r
197 0:54      Sequence\r
198 0:54        move second child to first child (temp int)\r
199 0:54          'x' (temp int)\r
200 0:54          Constant:\r
201 0:54            1 (const int)\r
202 0:56      Sequence\r
203 0:56        Sequence\r
204 0:56          move second child to first child (temp float)\r
205 0:56            'x' (temp float)\r
206 0:56            Constant:\r
207 0:56              2.000000\r
208 0:56          move second child to first child (temp float)\r
209 0:56            'y' (temp float)\r
210 0:56            'x' (temp float)\r
211 0:60      Sequence\r
212 0:60        Sequence\r
213 0:60          move second child to first child (temp int)\r
214 0:60            'x' (temp int)\r
215 0:60            'x' (temp int)\r
216 0:68      Sequence\r
217 0:68        Sequence\r
218 0:68          move second child to first child (temp structure{temp int x})\r
219 0:68            'S' (temp structure{temp int x})\r
220 0:68            Constant:\r
221 0:68              0 (const int)\r
222 0:69        x: direct index for structure (temp int)\r
223 0:69          'S' (temp structure{temp int x})\r
224 0:69          Constant:\r
225 0:69            0 (const int)\r
226 0:73      Constant:\r
227 0:73        183.346494\r
228 0:?   Linker Objects\r
229 0:?     'b' (global bool)\r
230 0:?     'c' (global bool)\r
231 0:?     'f' (global float)\r
232 0:?     'tan' (global float)\r
233 \r