1430scope.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:43: 'sin' : can't use function syntax on variable
7ERROR: 0:57: 'z' : undeclared identifier
8ERROR: 0:57: 'z' : redefinition
9ERROR: 0:73: 'degrees' : can't use function syntax on variable
10ERROR: 8 compilation errors.  No code generated.
11
12
13Shader version: 430
14ERROR: node is still EOpNull!
150:3  Function Definition: f(i1;i1;i1; ( global int)
160:3    Function Parameters:
170:3      'a' ( in int)
180:3      'b' ( in int)
190:3      'c' ( in int)
200:?     Sequence
210:8      Sequence
220:8        Sequence
230:8          move second child to first child ( temp float)
240:8            'a' ( temp float)
250:8            add ( temp float)
260:8              Convert int to float ( temp float)
270:8                'a' ( in int)
280:8              Constant:
290:8                1.000000
300:11      Branch: Return with expression
310:11        'a' ( in int)
320:25  Function Definition: cos(f1; ( global float)
330:25    Function Parameters:
340:25      'x' ( in float)
350:27    Sequence
360:27      Branch: Return with expression
370:27        Constant:
380:27          1.000000
390:29  Function Definition: radians(b1; ( global bool)
400:29    Function Parameters:
410:29      'x' ( in bool)
420:31    Sequence
430:31      Branch: Return with expression
440:31        Constant:
450:31          true (const bool)
460:36  Function Definition: main( ( global void)
470:36    Function Parameters:
480:?     Sequence
490:39      Function Call: g( ( temp int)
500:42      'sin' ( temp float)
510:43      Constant:
520:43        0.000000
530:44      Function Call: f(i1;i1;i1; ( global int)
540:44        Constant:
550:44          1 (const int)
560:44        Constant:
570:44          2 (const int)
580:44        Constant:
590:44          3 (const int)
600:47      move second child to first child ( temp float)
610:47        'f' ( temp float)
620:47        Constant:
630:47          3.000000
640:49      move second child to first child ( temp 4-component vector of float)
650:49        gl_Position: direct index for structure ( invariant gl_Position 4-component vector of float Position)
660:49          'anon@0' ( out block{ invariant gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex,  out 4-component vector of float FrontColor gl_FrontColor,  out 4-component vector of float BackColor gl_BackColor,  out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor,  out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor,  out unsized 1-element array of 4-component vector of float TexCoord gl_TexCoord,  out float FogFragCoord gl_FogFragCoord})
670:49          Constant:
680:49            0 (const uint)
690:49        Construct vec4 ( temp 4-component vector of float)
700:49          'f' ( temp float)
710:51      Sequence
720:51        Sequence
730:51          move second child to first child ( temp int)
740:51            'f' ( temp int)
750:51            Constant:
760:51              0 (const int)
770:51        Loop with condition tested first
780:51          Loop Condition
790:51          Compare Less Than ( temp bool)
800:51            'f' ( temp int)
810:51            Constant:
820:51              10 (const int)
830:51          Loop Body
840:52          Pre-Increment ( temp int)
850:52            'f' ( temp int)
860:51          Loop Terminal Expression
870:51          Pre-Increment ( temp int)
880:51            'f' ( temp int)
890:54      Sequence
900:54        move second child to first child ( temp int)
910:54          'x' ( temp int)
920:54          Constant:
930:54            1 (const int)
940:56      Sequence
950:56        Sequence
960:56          move second child to first child ( temp float)
970:56            'x' ( temp float)
980:56            Constant:
990:56              2.000000
1000:56          move second child to first child ( temp float)
1010:56            'y' ( temp float)
1020:56            'x' ( temp float)
1030:60      Sequence
1040:60        Sequence
1050:60          move second child to first child ( temp int)
1060:60            'x' ( temp int)
1070:60            'x' ( temp int)
1080:68      Sequence
1090:68        Sequence
1100:68          move second child to first child ( temp structure{ temp int x})
1110:68            'S' ( temp structure{ temp int x})
1120:68            Constant:
1130:68              0 (const int)
1140:69        x: direct index for structure ( temp int)
1150:69          'S' ( temp structure{ temp int x})
1160:69          Constant:
1170:69            0 (const int)
1180:73      Constant:
1190:73        0.000000
1200:?   Linker Objects
1210:?     'b' ( global bool)
1220:?     'tan' ( global float)
1230:?     'gl_VertexID' ( gl_VertexId int VertexId)
1240:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
125
126
127Linked vertex stage:
128
129ERROR: Linking vertex stage: No function definition (body) found:
130    g(
131
132Shader version: 430
133ERROR: node is still EOpNull!
1340:3  Function Definition: f(i1;i1;i1; ( global int)
1350:3    Function Parameters:
1360:3      'a' ( in int)
1370:3      'b' ( in int)
1380:3      'c' ( in int)
1390:?     Sequence
1400:8      Sequence
1410:8        Sequence
1420:8          move second child to first child ( temp float)
1430:8            'a' ( temp float)
1440:8            add ( temp float)
1450:8              Convert int to float ( temp float)
1460:8                'a' ( in int)
1470:8              Constant:
1480:8                1.000000
1490:11      Branch: Return with expression
1500:11        'a' ( in int)
1510:36  Function Definition: main( ( global void)
1520:36    Function Parameters:
1530:?     Sequence
1540:39      Function Call: g( ( temp int)
1550:42      'sin' ( temp float)
1560:43      Constant:
1570:43        0.000000
1580:44      Function Call: f(i1;i1;i1; ( global int)
1590:44        Constant:
1600:44          1 (const int)
1610:44        Constant:
1620:44          2 (const int)
1630:44        Constant:
1640:44          3 (const int)
1650:47      move second child to first child ( temp float)
1660:47        'f' ( temp float)
1670:47        Constant:
1680:47          3.000000
1690:49      move second child to first child ( temp 4-component vector of float)
1700:49        gl_Position: direct index for structure ( invariant gl_Position 4-component vector of float Position)
1710:49          'anon@0' ( out block{ invariant gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex,  out 4-component vector of float FrontColor gl_FrontColor,  out 4-component vector of float BackColor gl_BackColor,  out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor,  out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor,  out 1-element array of 4-component vector of float TexCoord gl_TexCoord,  out float FogFragCoord gl_FogFragCoord})
1720:49          Constant:
1730:49            0 (const uint)
1740:49        Construct vec4 ( temp 4-component vector of float)
1750:49          'f' ( temp float)
1760:51      Sequence
1770:51        Sequence
1780:51          move second child to first child ( temp int)
1790:51            'f' ( temp int)
1800:51            Constant:
1810:51              0 (const int)
1820:51        Loop with condition tested first
1830:51          Loop Condition
1840:51          Compare Less Than ( temp bool)
1850:51            'f' ( temp int)
1860:51            Constant:
1870:51              10 (const int)
1880:51          Loop Body
1890:52          Pre-Increment ( temp int)
1900:52            'f' ( temp int)
1910:51          Loop Terminal Expression
1920:51          Pre-Increment ( temp int)
1930:51            'f' ( temp int)
1940:54      Sequence
1950:54        move second child to first child ( temp int)
1960:54          'x' ( temp int)
1970:54          Constant:
1980:54            1 (const int)
1990:56      Sequence
2000:56        Sequence
2010:56          move second child to first child ( temp float)
2020:56            'x' ( temp float)
2030:56            Constant:
2040:56              2.000000
2050:56          move second child to first child ( temp float)
2060:56            'y' ( temp float)
2070:56            'x' ( temp float)
2080:60      Sequence
2090:60        Sequence
2100:60          move second child to first child ( temp int)
2110:60            'x' ( temp int)
2120:60            'x' ( temp int)
2130:68      Sequence
2140:68        Sequence
2150:68          move second child to first child ( temp structure{ temp int x})
2160:68            'S' ( temp structure{ temp int x})
2170:68            Constant:
2180:68              0 (const int)
2190:69        x: direct index for structure ( temp int)
2200:69          'S' ( temp structure{ temp int x})
2210:69          Constant:
2220:69            0 (const int)
2230:73      Constant:
2240:73        0.000000
2250:?   Linker Objects
2260:?     'b' ( global bool)
2270:?     'tan' ( global float)
2280:?     'gl_VertexID' ( gl_VertexId int VertexId)
2290:?     'gl_InstanceID' ( gl_InstanceId int InstanceId)
230
231