1functionCall.frag
2WARNING: 0:4: varying deprecated in version 130; may be removed in future release
3
4Shader version: 130
50:? Sequence
60:7  Sequence
70:7    move second child to first child ( temp float)
80:7      'h' ( global float)
90:7      Constant:
100:7        0.000000
110:9  Function Definition: foo(vf4; ( global float)
120:9    Function Parameters:
130:9      'bar' ( in 4-component vector of float)
140:11    Sequence
150:11      Branch: Return with expression
160:11        add ( temp float)
170:11          direct index ( temp float)
180:11            'bar' ( in 4-component vector of float)
190:11            Constant:
200:11              0 (const int)
210:11          direct index ( temp float)
220:11            'bar' ( in 4-component vector of float)
230:11            Constant:
240:11              1 (const int)
250:14  Function Definition: bar( ( global void)
260:14    Function Parameters:
270:18  Function Definition: unreachableReturn( ( global float)
280:18    Function Parameters:
290:20    Sequence
300:20      Test condition and select ( temp void)
310:20        Condition
320:20        Compare Less Than ( temp bool)
330:20          'd' ( uniform float)
340:20          Constant:
350:20            4.200000
360:20        true case
370:21        Branch: Return with expression
380:21          Constant:
390:21            1.200000
400:20        false case
410:23        Branch: Return with expression
420:23          Constant:
430:23            4.500000
440:27  Function Definition: missingReturn( ( global float)
450:27    Function Parameters:
460:29    Sequence
470:29      Test condition and select ( temp void)
480:29        Condition
490:29        Compare Less Than ( temp bool)
500:29          'd' ( uniform float)
510:29          Constant:
520:29            4.500000
530:29        true case
540:30        Sequence
550:30          move second child to first child ( temp float)
560:30            'h' ( global float)
570:30            'd' ( uniform float)
580:31          Branch: Return with expression
590:31            Constant:
600:31              3.900000
610:35  Function Definition: main( ( global void)
620:35    Function Parameters:
630:37    Sequence
640:37      Sequence
650:37        move second child to first child ( temp 4-component vector of float)
660:37          'color' ( temp 4-component vector of float)
670:37          Construct vec4 ( temp 4-component vector of float)
680:37            Function Call: foo(vf4; ( global float)
690:37              'BaseColor' ( smooth in 4-component vector of float)
700:39      Function Call: bar( ( global void)
710:40      Sequence
720:40        move second child to first child ( temp float)
730:40          'f' ( temp float)
740:40          Function Call: unreachableReturn( ( global float)
750:41      Sequence
760:41        move second child to first child ( temp float)
770:41          'g' ( temp float)
780:41          Function Call: missingReturn( ( global float)
790:43      move second child to first child ( temp 4-component vector of float)
800:43        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
810:43        vector-scale ( temp 4-component vector of float)
820:43          vector-scale ( temp 4-component vector of float)
830:43            'color' ( temp 4-component vector of float)
840:43            'f' ( temp float)
850:43          'h' ( global float)
860:?   Linker Objects
870:?     'bigColor' ( uniform 4-component vector of float)
880:?     'BaseColor' ( smooth in 4-component vector of float)
890:?     'd' ( uniform float)
900:?     'h' ( global float)
91
92
93Linked fragment stage:
94
95
96Shader version: 130
970:? Sequence
980:7  Sequence
990:7    move second child to first child ( temp float)
1000:7      'h' ( global float)
1010:7      Constant:
1020:7        0.000000
1030:9  Function Definition: foo(vf4; ( global float)
1040:9    Function Parameters:
1050:9      'bar' ( in 4-component vector of float)
1060:11    Sequence
1070:11      Branch: Return with expression
1080:11        add ( temp float)
1090:11          direct index ( temp float)
1100:11            'bar' ( in 4-component vector of float)
1110:11            Constant:
1120:11              0 (const int)
1130:11          direct index ( temp float)
1140:11            'bar' ( in 4-component vector of float)
1150:11            Constant:
1160:11              1 (const int)
1170:14  Function Definition: bar( ( global void)
1180:14    Function Parameters:
1190:18  Function Definition: unreachableReturn( ( global float)
1200:18    Function Parameters:
1210:20    Sequence
1220:20      Test condition and select ( temp void)
1230:20        Condition
1240:20        Compare Less Than ( temp bool)
1250:20          'd' ( uniform float)
1260:20          Constant:
1270:20            4.200000
1280:20        true case
1290:21        Branch: Return with expression
1300:21          Constant:
1310:21            1.200000
1320:20        false case
1330:23        Branch: Return with expression
1340:23          Constant:
1350:23            4.500000
1360:27  Function Definition: missingReturn( ( global float)
1370:27    Function Parameters:
1380:29    Sequence
1390:29      Test condition and select ( temp void)
1400:29        Condition
1410:29        Compare Less Than ( temp bool)
1420:29          'd' ( uniform float)
1430:29          Constant:
1440:29            4.500000
1450:29        true case
1460:30        Sequence
1470:30          move second child to first child ( temp float)
1480:30            'h' ( global float)
1490:30            'd' ( uniform float)
1500:31          Branch: Return with expression
1510:31            Constant:
1520:31              3.900000
1530:35  Function Definition: main( ( global void)
1540:35    Function Parameters:
1550:37    Sequence
1560:37      Sequence
1570:37        move second child to first child ( temp 4-component vector of float)
1580:37          'color' ( temp 4-component vector of float)
1590:37          Construct vec4 ( temp 4-component vector of float)
1600:37            Function Call: foo(vf4; ( global float)
1610:37              'BaseColor' ( smooth in 4-component vector of float)
1620:39      Function Call: bar( ( global void)
1630:40      Sequence
1640:40        move second child to first child ( temp float)
1650:40          'f' ( temp float)
1660:40          Function Call: unreachableReturn( ( global float)
1670:41      Sequence
1680:41        move second child to first child ( temp float)
1690:41          'g' ( temp float)
1700:41          Function Call: missingReturn( ( global float)
1710:43      move second child to first child ( temp 4-component vector of float)
1720:43        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1730:43        vector-scale ( temp 4-component vector of float)
1740:43          vector-scale ( temp 4-component vector of float)
1750:43            'color' ( temp 4-component vector of float)
1760:43            'f' ( temp float)
1770:43          'h' ( global float)
1780:?   Linker Objects
1790:?     'bigColor' ( uniform 4-component vector of float)
1800:?     'BaseColor' ( smooth in 4-component vector of float)
1810:?     'd' ( uniform float)
1820:?     'h' ( global float)
183
184