blob: a3a67970e28f5e87e7506dad21509ef14e74a859 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001100scope.vert
2ERROR: 0:5: 'a' : redefinition
3ERROR: 0:17: 'b' : function name is redeclaration of existing name
4ERROR: 0:20: 'c' : redefinition
5ERROR: 0:22: 'f' : redefinition
6ERROR: 0:24: 'redefinition of built-in function' : not supported with this profile: es
7ERROR: 0:25: 'redefinition of built-in function' : not supported with this profile: es
8ERROR: 0:38: 'local function declaration' : not supported with this profile: es
9ERROR: 0:43: 'sin' : can't use function syntax on variable
10ERROR: 0:57: 'z' : undeclared identifier
11ERROR: 0:57: 'z' : redefinition
12ERROR: 0:73: 'degrees' : can't use function syntax on variable
13ERROR: 0:76: 'vertex-shader struct output' : not supported for this version or the enabled extensions
14ERROR: 12 compilation errors. No code generated.
15
16
17Shader version: 100
18ERROR: node is still EOpNull!
190:3 Function Definition: f(i1;i1;i1; (global highp int)
200:3 Function Parameters:
210:3 'a' (in highp int)
220:3 'b' (in highp int)
230:3 'c' (in highp int)
240:? Sequence
250:8 Sequence
260:8 Sequence
270:8 move second child to first child (temp highp float)
280:8 'a' (temp highp float)
290:8 add (temp highp float)
300:8 Convert int to float (temp highp float)
310:8 'a' (in highp int)
320:8 Constant:
330:8 1.000000
340:11 Branch: Return with expression
350:11 'a' (in highp int)
360:25 Function Definition: cos(f1; (global highp float)
370:25 Function Parameters:
380:25 'x' (in highp float)
390:27 Sequence
400:27 Branch: Return with expression
410:27 Constant:
420:27 1.000000
430:29 Function Definition: radians(b1; (global bool)
440:29 Function Parameters:
450:29 'x' (in bool)
460:31 Sequence
470:31 Branch: Return with expression
480:31 Constant:
490:31 true (const bool)
500:36 Function Definition: main( (global void)
510:36 Function Parameters:
520:? Sequence
530:39 Function Call: g( (temp highp int)
540:42 'sin' (temp highp float)
550:43 Constant:
560:43 0.000000
570:44 Function Call: f(i1;i1;i1; (global highp int)
580:44 Constant:
590:44 1 (const int)
600:44 Constant:
610:44 2 (const int)
620:44 Constant:
630:44 3 (const int)
640:47 move second child to first child (temp highp float)
650:47 'f' (temp highp float)
660:47 Constant:
670:47 3.000000
680:49 move second child to first child (temp highp 4-component vector of float)
690:49 'gl_Position' (invariant gl_Position highp 4-component vector of float Position)
700:49 Construct vec4 (temp highp 4-component vector of float)
710:49 'f' (temp highp float)
720:51 Sequence
730:51 Sequence
740:51 move second child to first child (temp highp int)
750:51 'f' (temp highp int)
760:51 Constant:
770:51 0 (const int)
780:51 Loop with condition tested first
790:51 Loop Condition
800:51 Compare Less Than (temp bool)
810:51 'f' (temp highp int)
820:51 Constant:
830:51 10 (const int)
840:51 Loop Body
850:52 Pre-Increment (temp highp int)
860:52 'f' (temp highp int)
870:51 Loop Terminal Expression
880:51 Pre-Increment (temp highp int)
890:51 'f' (temp highp int)
900:54 Sequence
910:54 move second child to first child (temp highp int)
920:54 'x' (temp highp int)
930:54 Constant:
940:54 1 (const int)
950:56 Sequence
960:56 Sequence
970:56 move second child to first child (temp highp float)
980:56 'x' (temp highp float)
990:56 Constant:
1000:56 2.000000
1010:56 move second child to first child (temp highp float)
1020:56 'y' (temp highp float)
1030:56 'x' (temp highp float)
1040:60 Sequence
1050:60 Sequence
1060:60 move second child to first child (temp highp int)
1070:60 'x' (temp highp int)
1080:60 'x' (temp highp int)
1090:68 Sequence
1100:68 Sequence
1110:68 move second child to first child (temp structure{temp highp int x})
1120:68 'S' (temp structure{temp highp int x})
1130:68 Constant:
1140:68 0 (const int)
1150:69 x: direct index for structure (temp highp int)
1160:69 'S' (temp structure{temp highp int x})
1170:69 Constant:
1180:69 0 (const int)
1190:73 Constant:
1200:73 0.000000
1210:? Linker Objects
1220:? 'b' (global bool)
1230:? 'tan' (global highp float)
1240:? 's' (smooth out structure{global highp float f})
125
126
127Linked vertex stage:
128
129
130Shader version: 100
131ERROR: node is still EOpNull!
1320:3 Function Definition: f(i1;i1;i1; (global highp int)
1330:3 Function Parameters:
1340:3 'a' (in highp int)
1350:3 'b' (in highp int)
1360:3 'c' (in highp int)
1370:? Sequence
1380:8 Sequence
1390:8 Sequence
1400:8 move second child to first child (temp highp float)
1410:8 'a' (temp highp float)
1420:8 add (temp highp float)
1430:8 Convert int to float (temp highp float)
1440:8 'a' (in highp int)
1450:8 Constant:
1460:8 1.000000
1470:11 Branch: Return with expression
1480:11 'a' (in highp int)
1490:25 Function Definition: cos(f1; (global highp float)
1500:25 Function Parameters:
1510:25 'x' (in highp float)
1520:27 Sequence
1530:27 Branch: Return with expression
1540:27 Constant:
1550:27 1.000000
1560:29 Function Definition: radians(b1; (global bool)
1570:29 Function Parameters:
1580:29 'x' (in bool)
1590:31 Sequence
1600:31 Branch: Return with expression
1610:31 Constant:
1620:31 true (const bool)
1630:36 Function Definition: main( (global void)
1640:36 Function Parameters:
1650:? Sequence
1660:39 Function Call: g( (temp highp int)
1670:42 'sin' (temp highp float)
1680:43 Constant:
1690:43 0.000000
1700:44 Function Call: f(i1;i1;i1; (global highp int)
1710:44 Constant:
1720:44 1 (const int)
1730:44 Constant:
1740:44 2 (const int)
1750:44 Constant:
1760:44 3 (const int)
1770:47 move second child to first child (temp highp float)
1780:47 'f' (temp highp float)
1790:47 Constant:
1800:47 3.000000
1810:49 move second child to first child (temp highp 4-component vector of float)
1820:49 'gl_Position' (invariant gl_Position highp 4-component vector of float Position)
1830:49 Construct vec4 (temp highp 4-component vector of float)
1840:49 'f' (temp highp float)
1850:51 Sequence
1860:51 Sequence
1870:51 move second child to first child (temp highp int)
1880:51 'f' (temp highp int)
1890:51 Constant:
1900:51 0 (const int)
1910:51 Loop with condition tested first
1920:51 Loop Condition
1930:51 Compare Less Than (temp bool)
1940:51 'f' (temp highp int)
1950:51 Constant:
1960:51 10 (const int)
1970:51 Loop Body
1980:52 Pre-Increment (temp highp int)
1990:52 'f' (temp highp int)
2000:51 Loop Terminal Expression
2010:51 Pre-Increment (temp highp int)
2020:51 'f' (temp highp int)
2030:54 Sequence
2040:54 move second child to first child (temp highp int)
2050:54 'x' (temp highp int)
2060:54 Constant:
2070:54 1 (const int)
2080:56 Sequence
2090:56 Sequence
2100:56 move second child to first child (temp highp float)
2110:56 'x' (temp highp float)
2120:56 Constant:
2130:56 2.000000
2140:56 move second child to first child (temp highp float)
2150:56 'y' (temp highp float)
2160:56 'x' (temp highp float)
2170:60 Sequence
2180:60 Sequence
2190:60 move second child to first child (temp highp int)
2200:60 'x' (temp highp int)
2210:60 'x' (temp highp int)
2220:68 Sequence
2230:68 Sequence
2240:68 move second child to first child (temp structure{temp highp int x})
2250:68 'S' (temp structure{temp highp int x})
2260:68 Constant:
2270:68 0 (const int)
2280:69 x: direct index for structure (temp highp int)
2290:69 'S' (temp structure{temp highp int x})
2300:69 Constant:
2310:69 0 (const int)
2320:73 Constant:
2330:73 0.000000
2340:? Linker Objects
2350:? 'b' (global bool)
2360:? 'tan' (global highp float)
2370:? 's' (smooth out structure{global highp float f})
238