1300scope.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:23: 'tan' : redefinition
7ERROR: 0:24: 'redefinition of built-in function' : not supported with this profile: es
8ERROR: 0:24: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1
9ERROR: 0:24: 'sin' : function name is redeclaration of existing name
10ERROR: 0:25: 'redefinition of built-in function' : not supported with this profile: es
11ERROR: 0:25: 'highp' : overloaded functions must have the same parameter precision qualifiers for argument 1
12ERROR: 0:25: 'cos' : function name is redeclaration of existing name
13ERROR: 0:25: 'cos' : function already has a body
14ERROR: 0:27: 'return' : void function cannot return a value
15ERROR: 0:29: 'radians' : function name is redeclaration of existing name
16ERROR: 0:29: 'radians' : can't find function
17ERROR: 0:31: 'return' : void function cannot return a value
18ERROR: 0:38: 'local function declaration' : not supported with this profile: es
19ERROR: 0:43: 'sin' : can't use function syntax on variable
20ERROR: 0:57: 'z' : undeclared identifier
21ERROR: 0:57: 'z' : redefinition
22ERROR: 0:73: 'degrees' : can't use function syntax on variable
23ERROR: 21 compilation errors.  No code generated.
24
25
26Shader version: 300
27ERROR: node is still EOpNull!
280:3  Function Definition: f(i1;i1;i1; ( global highp int)
290:3    Function Parameters:
300:3      'a' ( in highp int)
310:3      'b' ( in highp int)
320:3      'c' ( in highp int)
330:?     Sequence
340:8      Sequence
350:8        Sequence
360:8          move second child to first child ( temp highp float)
370:8            'a' ( temp highp float)
380:8            add ( temp highp float)
390:8              Convert int to float ( temp highp float)
400:8                'a' ( in highp int)
410:8              Constant:
420:8                1.000000
430:11      Branch: Return with expression
440:11        'a' ( in highp int)
450:25  Function Definition: cos(f1; ( global highp float)
460:25    Function Parameters:
470:25      'x' ( in highp float)
480:27    Sequence
490:27      Branch: Return
500:29  Function Definition: radians(b1; ( global bool)
510:29    Function Parameters:
520:29      'x' ( in bool)
530:31    Sequence
540:31      Branch: Return
550:36  Function Definition: main( ( global void)
560:36    Function Parameters:
570:?     Sequence
580:39      Function Call: g( ( temp highp int)
590:42      'sin' ( temp highp float)
600:43      Constant:
610:43        0.000000
620:44      Function Call: f(i1;i1;i1; ( global highp int)
630:44        Constant:
640:44          1 (const int)
650:44        Constant:
660:44          2 (const int)
670:44        Constant:
680:44          3 (const int)
690:47      move second child to first child ( temp highp float)
700:47        'f' ( temp highp float)
710:47        Constant:
720:47          3.000000
730:49      move second child to first child ( temp highp 4-component vector of float)
740:49        'gl_Position' ( invariant gl_Position highp 4-component vector of float Position)
750:49        Construct vec4 ( temp highp 4-component vector of float)
760:49          'f' ( temp highp float)
770:51      Sequence
780:51        Sequence
790:51          move second child to first child ( temp highp int)
800:51            'f' ( temp highp int)
810:51            Constant:
820:51              0 (const int)
830:51        Loop with condition tested first
840:51          Loop Condition
850:51          Compare Less Than ( temp bool)
860:51            'f' ( temp highp int)
870:51            Constant:
880:51              10 (const int)
890:51          Loop Body
900:52          Pre-Increment ( temp highp int)
910:52            'f' ( temp highp int)
920:51          Loop Terminal Expression
930:51          Pre-Increment ( temp highp int)
940:51            'f' ( temp highp int)
950:54      Sequence
960:54        move second child to first child ( temp highp int)
970:54          'x' ( temp highp int)
980:54          Constant:
990:54            1 (const int)
1000:56      Sequence
1010:56        Sequence
1020:56          move second child to first child ( temp highp float)
1030:56            'x' ( temp highp float)
1040:56            Constant:
1050:56              2.000000
1060:56          move second child to first child ( temp highp float)
1070:56            'y' ( temp highp float)
1080:56            'x' ( temp highp float)
1090:60      Sequence
1100:60        Sequence
1110:60          move second child to first child ( temp highp int)
1120:60            'x' ( temp highp int)
1130:60            'x' ( temp highp int)
1140:68      Sequence
1150:68        Sequence
1160:68          move second child to first child ( temp structure{ temp highp int x})
1170:68            'S' ( temp structure{ temp highp int x})
1180:68            Constant:
1190:68              0 (const int)
1200:69        x: direct index for structure ( temp highp int)
1210:69          'S' ( temp structure{ temp highp int x})
1220:69          Constant:
1230:69            0 (const int)
1240:73      Constant:
1250:73        0.000000
1260:?   Linker Objects
1270:?     'b' ( global bool)
1280:?     'gl_VertexID' ( gl_VertexId highp int VertexId)
1290:?     'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
130
131
132Linked vertex stage:
133
134ERROR: Linking vertex stage: No function definition (body) found:
135    g(
136
137Shader version: 300
138ERROR: node is still EOpNull!
1390:3  Function Definition: f(i1;i1;i1; ( global highp int)
1400:3    Function Parameters:
1410:3      'a' ( in highp int)
1420:3      'b' ( in highp int)
1430:3      'c' ( in highp int)
1440:?     Sequence
1450:8      Sequence
1460:8        Sequence
1470:8          move second child to first child ( temp highp float)
1480:8            'a' ( temp highp float)
1490:8            add ( temp highp float)
1500:8              Convert int to float ( temp highp float)
1510:8                'a' ( in highp int)
1520:8              Constant:
1530:8                1.000000
1540:11      Branch: Return with expression
1550:11        'a' ( in highp int)
1560:36  Function Definition: main( ( global void)
1570:36    Function Parameters:
1580:?     Sequence
1590:39      Function Call: g( ( temp highp int)
1600:42      'sin' ( temp highp float)
1610:43      Constant:
1620:43        0.000000
1630:44      Function Call: f(i1;i1;i1; ( global highp int)
1640:44        Constant:
1650:44          1 (const int)
1660:44        Constant:
1670:44          2 (const int)
1680:44        Constant:
1690:44          3 (const int)
1700:47      move second child to first child ( temp highp float)
1710:47        'f' ( temp highp float)
1720:47        Constant:
1730:47          3.000000
1740:49      move second child to first child ( temp highp 4-component vector of float)
1750:49        'gl_Position' ( invariant gl_Position highp 4-component vector of float Position)
1760:49        Construct vec4 ( temp highp 4-component vector of float)
1770:49          'f' ( temp highp float)
1780:51      Sequence
1790:51        Sequence
1800:51          move second child to first child ( temp highp int)
1810:51            'f' ( temp highp int)
1820:51            Constant:
1830:51              0 (const int)
1840:51        Loop with condition tested first
1850:51          Loop Condition
1860:51          Compare Less Than ( temp bool)
1870:51            'f' ( temp highp int)
1880:51            Constant:
1890:51              10 (const int)
1900:51          Loop Body
1910:52          Pre-Increment ( temp highp int)
1920:52            'f' ( temp highp int)
1930:51          Loop Terminal Expression
1940:51          Pre-Increment ( temp highp int)
1950:51            'f' ( temp highp int)
1960:54      Sequence
1970:54        move second child to first child ( temp highp int)
1980:54          'x' ( temp highp int)
1990:54          Constant:
2000:54            1 (const int)
2010:56      Sequence
2020:56        Sequence
2030:56          move second child to first child ( temp highp float)
2040:56            'x' ( temp highp float)
2050:56            Constant:
2060:56              2.000000
2070:56          move second child to first child ( temp highp float)
2080:56            'y' ( temp highp float)
2090:56            'x' ( temp highp float)
2100:60      Sequence
2110:60        Sequence
2120:60          move second child to first child ( temp highp int)
2130:60            'x' ( temp highp int)
2140:60            'x' ( temp highp int)
2150:68      Sequence
2160:68        Sequence
2170:68          move second child to first child ( temp structure{ temp highp int x})
2180:68            'S' ( temp structure{ temp highp int x})
2190:68            Constant:
2200:68              0 (const int)
2210:69        x: direct index for structure ( temp highp int)
2220:69          'S' ( temp structure{ temp highp int x})
2230:69          Constant:
2240:69            0 (const int)
2250:73      Constant:
2260:73        0.000000
2270:?   Linker Objects
2280:?     'b' ( global bool)
2290:?     'gl_VertexID' ( gl_VertexId highp int VertexId)
2300:?     'gl_InstanceID' ( gl_InstanceId highp int InstanceId)
231
232