1dce.frag
2Shader version: 400
30:? Sequence
40:5  Sequence
50:5    move second child to first child ( temp int)
60:5      'c' ( global int)
70:5      Constant:
80:5        0 (const int)
90:7  Function Definition: bar( ( global void)
100:7    Function Parameters:
110:9    Sequence
120:9      Test condition and select ( temp void)
130:9        Condition
140:9        Constant:
150:9          false (const bool)
160:9        true case
170:10        Pre-Increment ( temp int)
180:10          'c' ( global int)
190:9        false case
200:12        Pre-Increment ( temp int)
210:12          'c' ( global int)
220:14      Test condition and select ( temp int)
230:14        Condition
240:14        Constant:
250:14          false (const bool)
260:14        true case
270:14        Pre-Increment ( temp int)
280:14          'c' ( global int)
290:14        false case
300:14        Pre-Increment ( temp int)
310:14          'c' ( global int)
320:16      switch
330:16      condition
340:16        'c' ( global int)
350:16      body
360:16        Sequence
370:17          case:  with expression
380:17            Constant:
390:17              1 (const int)
400:?           Sequence
410:18            Pre-Increment ( temp int)
420:18              'c' ( global int)
430:19            Branch: Break
440:20            Pre-Increment ( temp int)
450:20              'c' ( global int)
460:21          case:  with expression
470:21            Constant:
480:21              2 (const int)
490:?           Sequence
500:22            Branch: Break
510:23            Pre-Increment ( temp int)
520:23              'c' ( global int)
530:24          default:
540:?           Sequence
550:25            Branch: Break
560:28      Sequence
570:28        Sequence
580:28          move second child to first child ( temp int)
590:28            'i' ( temp int)
600:28            Constant:
610:28              0 (const int)
620:28        Loop with condition tested first
630:28          Loop Condition
640:28          Compare Less Than ( temp bool)
650:28            'i' ( temp int)
660:28            Constant:
670:28              0 (const int)
680:28          Loop Body
690:29          Pre-Increment ( temp int)
700:29            'c' ( global int)
710:28          Loop Terminal Expression
720:28          Pre-Increment ( temp int)
730:28            'i' ( temp int)
740:31      Sequence
750:31        Sequence
760:31          move second child to first child ( temp int)
770:31            'i' ( temp int)
780:31            Constant:
790:31              0 (const int)
800:31        Loop with condition tested first
810:31          Loop Condition
820:31          Compare Less Than ( temp bool)
830:31            'i' ( temp int)
840:31            Constant:
850:31              10 (const int)
860:31          Loop Body
870:32          Sequence
880:32            Test condition and select ( temp void)
890:32              Condition
900:32              Compare Less Than ( temp bool)
910:32                'c' ( global int)
920:32                Constant:
930:32                  3 (const int)
940:32              true case
950:33              Sequence
960:33                Branch: Break
970:34                Pre-Increment ( temp int)
980:34                  'c' ( global int)
990:32              false case
1000:36              Sequence
1010:36                Branch: Continue
1020:37                Pre-Increment ( temp int)
1030:37                  'c' ( global int)
1040:31          Loop Terminal Expression
1050:31          Pre-Increment ( temp int)
1060:31            'i' ( temp int)
1070:41      Branch: Return
1080:43      Pre-Increment ( temp int)
1090:43        'c' ( global int)
1100:46  Function Definition: foo( ( global int)
1110:46    Function Parameters:
1120:48    Sequence
1130:48      Test condition and select ( temp void)
1140:48        Condition
1150:48        Compare Greater Than ( temp bool)
1160:48          'c' ( global int)
1170:48          Constant:
1180:48            4 (const int)
1190:48        true case
1200:49        Sequence
1210:49          Branch: Return with expression
1220:49            Constant:
1230:49              4 (const int)
1240:50          Pre-Increment ( temp int)
1250:50            'c' ( global int)
1260:53      Branch: Return with expression
1270:53        Constant:
1280:53          5 (const int)
1290:55      Pre-Increment ( temp int)
1300:55        'c' ( global int)
1310:?   Linker Objects
1320:?     'flag' ( const bool)
1330:?       false (const bool)
1340:?     'c' ( global int)
135
136
137Linked fragment stage:
138
139ERROR: Linking fragment stage: Missing entry point: Each stage requires one entry point
140
141Shader version: 400
1420:? Sequence
1430:5  Sequence
1440:5    move second child to first child ( temp int)
1450:5      'c' ( global int)
1460:5      Constant:
1470:5        0 (const int)
1480:?   Linker Objects
1490:?     'flag' ( const bool)
1500:?       false (const bool)
1510:?     'c' ( global int)
152
153