• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1voidFunction.frag
2Shader version: 120
30:? Sequence
40:7  Sequence
50:7    move second child to first child ( temp float)
60:7      'bar' ( global float)
70:7      Constant:
80:7        2.000000
90:9  Function Definition: foo( ( global void)
100:9    Function Parameters:
110:11    Sequence
120:11      Post-Increment ( temp float)
130:11        'bar' ( global float)
140:13      Branch: Return
150:16  Function Definition: foo2( ( global void)
160:16    Function Parameters:
170:18    Sequence
180:18      Post-Increment ( temp float)
190:18        'bar' ( global float)
200:21  Function Definition: main( ( global void)
210:21    Function Parameters:
220:23    Sequence
230:23      Sequence
240:23        move second child to first child ( temp 4-component vector of float)
250:23          'outColor' ( temp 4-component vector of float)
260:23          'bigColor' ( uniform 4-component vector of float)
270:25      Function Call: foo( ( global void)
280:27      Function Call: foo2( ( global void)
290:29      add second child into first child ( temp float)
300:29        direct index ( temp float)
310:29          'outColor' ( temp 4-component vector of float)
320:29          Constant:
330:29            0 (const int)
340:29        'bar' ( global float)
350:31      move second child to first child ( temp 4-component vector of float)
360:31        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
370:31        'outColor' ( temp 4-component vector of float)
380:33      Branch: Return
390:?   Linker Objects
400:?     'bigColor' ( uniform 4-component vector of float)
410:?     'BaseColor' ( smooth in 4-component vector of float)
420:?     'd' ( uniform float)
430:?     'bar' ( global float)
44
45
46Linked fragment stage:
47
48
49Shader version: 120
500:? Sequence
510:7  Sequence
520:7    move second child to first child ( temp float)
530:7      'bar' ( global float)
540:7      Constant:
550:7        2.000000
560:9  Function Definition: foo( ( global void)
570:9    Function Parameters:
580:11    Sequence
590:11      Post-Increment ( temp float)
600:11        'bar' ( global float)
610:13      Branch: Return
620:16  Function Definition: foo2( ( global void)
630:16    Function Parameters:
640:18    Sequence
650:18      Post-Increment ( temp float)
660:18        'bar' ( global float)
670:21  Function Definition: main( ( global void)
680:21    Function Parameters:
690:23    Sequence
700:23      Sequence
710:23        move second child to first child ( temp 4-component vector of float)
720:23          'outColor' ( temp 4-component vector of float)
730:23          'bigColor' ( uniform 4-component vector of float)
740:25      Function Call: foo( ( global void)
750:27      Function Call: foo2( ( global void)
760:29      add second child into first child ( temp float)
770:29        direct index ( temp float)
780:29          'outColor' ( temp 4-component vector of float)
790:29          Constant:
800:29            0 (const int)
810:29        'bar' ( global float)
820:31      move second child to first child ( temp 4-component vector of float)
830:31        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
840:31        'outColor' ( temp 4-component vector of float)
850:33      Branch: Return
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:?     'bar' ( global float)
91
92