blob: 5f41b86bae7cd5b8d6b8600893789e4979ee3316 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001110scope.vert
2ERROR: 0:5: 'a' : redefinition
3ERROR: 0:34: 'f' : can't call user function from global scope
4ERROR: 0:57: 'z' : undeclared identifier
5ERROR: 0:57: 'z' : redefinition
6ERROR: 4 compilation errors. No code generated.
7
8
9Shader version: 110
10ERROR: node is still EOpNull!
110:3 Function Definition: f(i1;i1;i1; (global int)
120:3 Function Parameters:
130:3 'a' (in int)
140:3 'b' (in int)
150:3 'c' (in int)
160:? Sequence
170:8 Sequence
180:8 Sequence
190:8 move second child to first child (temp float)
200:8 'a' (temp float)
210:8 add (temp float)
220:8 Convert int to float (temp float)
230:8 'a' (in int)
240:8 Constant:
250:8 1.000000
260:11 Branch: Return with expression
270:11 'a' (in int)
280:25 Function Definition: cos(f1; (global float)
290:25 Function Parameters:
300:25 'x' (in float)
310:27 Sequence
320:27 Branch: Return with expression
330:27 Constant:
340:27 1.000000
350:29 Function Definition: radians(b1; (global bool)
360:29 Function Parameters:
370:29 'x' (in bool)
380:31 Sequence
390:31 Branch: Return with expression
400:31 Constant:
410:31 true (const bool)
420:34 Sequence
430:34 move second child to first child (temp int)
440:34 'gi' (global int)
450:34 Function Call: f(i1;i1;i1; (global int)
460:34 Constant:
470:34 1 (const int)
480:34 Constant:
490:34 2 (const int)
500:34 Constant:
510:34 3 (const int)
520:36 Function Definition: main( (global void)
530:36 Function Parameters:
540:? Sequence
550:39 Function Call: g( (temp int)
560:42 'sin' (temp float)
570:43 Function Call: sin(f1; (global float)
580:43 Constant:
590:43 0.700000
600:44 Function Call: f(i1;i1;i1; (global int)
610:44 Constant:
620:44 1 (const int)
630:44 Constant:
640:44 2 (const int)
650:44 Constant:
660:44 3 (const int)
670:47 move second child to first child (temp float)
680:47 'f' (temp float)
690:47 Constant:
700:47 3.000000
710:49 move second child to first child (temp 4-component vector of float)
720:49 'gl_Position' (gl_Position 4-component vector of float Position)
730:49 Construct vec4 (temp 4-component vector of float)
740:49 'f' (temp float)
750:51 Sequence
760:51 Sequence
770:51 move second child to first child (temp int)
780:51 'f' (temp int)
790:51 Constant:
800:51 0 (const int)
810:51 Loop with condition tested first
820:51 Loop Condition
830:51 Compare Less Than (temp bool)
840:51 'f' (temp int)
850:51 Constant:
860:51 10 (const int)
870:51 Loop Body
880:52 Pre-Increment (temp int)
890:52 'f' (temp int)
900:51 Loop Terminal Expression
910:51 Pre-Increment (temp int)
920:51 'f' (temp int)
930:54 Sequence
940:54 move second child to first child (temp int)
950:54 'x' (temp int)
960:54 Constant:
970:54 1 (const int)
980:56 Sequence
990:56 Sequence
1000:56 move second child to first child (temp float)
1010:56 'x' (temp float)
1020:56 Constant:
1030:56 2.000000
1040:56 move second child to first child (temp float)
1050:56 'y' (temp float)
1060:56 'x' (temp float)
1070:60 Sequence
1080:60 Sequence
1090:60 move second child to first child (temp int)
1100:60 'x' (temp int)
1110:60 'x' (temp int)
1120:68 Sequence
1130:68 Sequence
1140:68 move second child to first child (temp structure{temp int x})
1150:68 'S' (temp structure{temp int x})
1160:68 Constant:
1170:68 0 (const int)
1180:69 x: direct index for structure (temp int)
1190:69 'S' (temp structure{temp int x})
1200:69 Constant:
1210:69 0 (const int)
1220:73 Constant:
1230:73 183.346494
1240:? Linker Objects
1250:? 'b' (global bool)
1260:? 'c' (global bool)
1270:? 'f' (global float)
1280:? 'tan' (global float)
1290:? 'gi' (global int)
130
131
132Linked vertex stage:
133
134
135Shader version: 110
136ERROR: node is still EOpNull!
1370:3 Function Definition: f(i1;i1;i1; (global int)
1380:3 Function Parameters:
1390:3 'a' (in int)
1400:3 'b' (in int)
1410:3 'c' (in int)
1420:? Sequence
1430:8 Sequence
1440:8 Sequence
1450:8 move second child to first child (temp float)
1460:8 'a' (temp float)
1470:8 add (temp float)
1480:8 Convert int to float (temp float)
1490:8 'a' (in int)
1500:8 Constant:
1510:8 1.000000
1520:11 Branch: Return with expression
1530:11 'a' (in int)
1540:25 Function Definition: cos(f1; (global float)
1550:25 Function Parameters:
1560:25 'x' (in float)
1570:27 Sequence
1580:27 Branch: Return with expression
1590:27 Constant:
1600:27 1.000000
1610:29 Function Definition: radians(b1; (global bool)
1620:29 Function Parameters:
1630:29 'x' (in bool)
1640:31 Sequence
1650:31 Branch: Return with expression
1660:31 Constant:
1670:31 true (const bool)
1680:34 Sequence
1690:34 move second child to first child (temp int)
1700:34 'gi' (global int)
1710:34 Function Call: f(i1;i1;i1; (global int)
1720:34 Constant:
1730:34 1 (const int)
1740:34 Constant:
1750:34 2 (const int)
1760:34 Constant:
1770:34 3 (const int)
1780:36 Function Definition: main( (global void)
1790:36 Function Parameters:
1800:? Sequence
1810:39 Function Call: g( (temp int)
1820:42 'sin' (temp float)
1830:43 Function Call: sin(f1; (global float)
1840:43 Constant:
1850:43 0.700000
1860:44 Function Call: f(i1;i1;i1; (global int)
1870:44 Constant:
1880:44 1 (const int)
1890:44 Constant:
1900:44 2 (const int)
1910:44 Constant:
1920:44 3 (const int)
1930:47 move second child to first child (temp float)
1940:47 'f' (temp float)
1950:47 Constant:
1960:47 3.000000
1970:49 move second child to first child (temp 4-component vector of float)
1980:49 'gl_Position' (gl_Position 4-component vector of float Position)
1990:49 Construct vec4 (temp 4-component vector of float)
2000:49 'f' (temp float)
2010:51 Sequence
2020:51 Sequence
2030:51 move second child to first child (temp int)
2040:51 'f' (temp int)
2050:51 Constant:
2060:51 0 (const int)
2070:51 Loop with condition tested first
2080:51 Loop Condition
2090:51 Compare Less Than (temp bool)
2100:51 'f' (temp int)
2110:51 Constant:
2120:51 10 (const int)
2130:51 Loop Body
2140:52 Pre-Increment (temp int)
2150:52 'f' (temp int)
2160:51 Loop Terminal Expression
2170:51 Pre-Increment (temp int)
2180:51 'f' (temp int)
2190:54 Sequence
2200:54 move second child to first child (temp int)
2210:54 'x' (temp int)
2220:54 Constant:
2230:54 1 (const int)
2240:56 Sequence
2250:56 Sequence
2260:56 move second child to first child (temp float)
2270:56 'x' (temp float)
2280:56 Constant:
2290:56 2.000000
2300:56 move second child to first child (temp float)
2310:56 'y' (temp float)
2320:56 'x' (temp float)
2330:60 Sequence
2340:60 Sequence
2350:60 move second child to first child (temp int)
2360:60 'x' (temp int)
2370:60 'x' (temp int)
2380:68 Sequence
2390:68 Sequence
2400:68 move second child to first child (temp structure{temp int x})
2410:68 'S' (temp structure{temp int x})
2420:68 Constant:
2430:68 0 (const int)
2440:69 x: direct index for structure (temp int)
2450:69 'S' (temp structure{temp int x})
2460:69 Constant:
2470:69 0 (const int)
2480:73 Constant:
2490:73 183.346494
2500:? Linker Objects
2510:? 'b' (global bool)
2520:? 'c' (global bool)
2530:? 'f' (global float)
2540:? 'tan' (global float)
2550:? 'gi' (global int)
256