1loopsArtificial.frag
2WARNING: 0:14: varying deprecated in version 130; may be removed in future release
3
4Shader version: 130
50:? Sequence
60:53  Function Definition: main( ( global void)
70:53    Function Parameters:
80:55    Sequence
90:55      Sequence
100:55        move second child to first child ( temp 4-component vector of float)
110:55          'color' ( temp 4-component vector of float)
120:55          'BaseColor' ( smooth in 4-component vector of float)
130:71      Loop with condition not tested first
140:71        Loop Condition
150:71        Compare Less Than ( temp bool)
160:71          direct index ( temp float)
170:71            'color' ( temp 4-component vector of float)
180:71            Constant:
190:71              2 (const int)
200:71          'd4' ( uniform float)
210:71        Loop Body
220:59        Sequence
230:59          add second child into first child ( temp 4-component vector of float)
240:59            'color' ( temp 4-component vector of float)
250:59            'bigColor4' ( uniform 4-component vector of float)
260:60          Test condition and select ( temp void)
270:60            Condition
280:60            Compare Less Than ( temp bool)
290:60              direct index ( temp float)
300:60                'color' ( temp 4-component vector of float)
310:60                Constant:
320:60                  0 (const int)
330:60              'd4' ( uniform float)
340:60            true case
350:61            Sequence
360:61              add second child into first child ( temp float)
370:61                direct index ( temp float)
380:61                  'color' ( temp 4-component vector of float)
390:61                  Constant:
400:61                    2 (const int)
410:61                Constant:
420:61                  2.000000
430:62              Test condition and select ( temp void)
440:62                Condition
450:62                Compare Less Than ( temp bool)
460:62                  direct index ( temp float)
470:62                    'color' ( temp 4-component vector of float)
480:62                    Constant:
490:62                      2 (const int)
500:62                  'd4' ( uniform float)
510:62                true case
520:63                Sequence
530:63                  Post-Increment ( temp float)
540:63                    direct index ( temp float)
550:63                      'color' ( temp 4-component vector of float)
560:63                      Constant:
570:63                        0 (const int)
580:64                  Branch: Continue
590:67          Test condition and select ( temp void)
600:67            Condition
610:67            Compare Less Than ( temp bool)
620:67              direct index ( temp float)
630:67                'color' ( temp 4-component vector of float)
640:67                Constant:
650:67                  1 (const int)
660:67              'd4' ( uniform float)
670:67            true case
680:68            add second child into first child ( temp float)
690:68              direct index ( temp float)
700:68                'color' ( temp 4-component vector of float)
710:68                Constant:
720:68                  1 (const int)
730:68              'd4' ( uniform float)
740:67            false case
750:70            add second child into first child ( temp float)
760:70              direct index ( temp float)
770:70                'color' ( temp 4-component vector of float)
780:70                Constant:
790:70                  0 (const int)
800:70              'd4' ( uniform float)
810:74      Loop with condition tested first
820:74        Loop Condition
830:74        Compare Less Than ( temp bool)
840:74          direct index ( temp float)
850:74            'color' ( temp 4-component vector of float)
860:74            Constant:
870:74              3 (const int)
880:74          'd13' ( uniform float)
890:74        Loop Body
900:75        Sequence
910:75          Test condition and select ( temp void)
920:75            Condition
930:75            Compare Less Than ( temp bool)
940:75              direct index ( temp float)
950:75                'color' ( temp 4-component vector of float)
960:75                Constant:
970:75                  2 (const int)
980:75              'd13' ( uniform float)
990:75            true case
1000:76            Post-Increment ( temp 4-component vector of float)
1010:76              'color' ( temp 4-component vector of float)
1020:75            false case
1030:78            Post-Decrement ( temp 4-component vector of float)
1040:78              'color' ( temp 4-component vector of float)
1050:80          add second child into first child ( temp 4-component vector of float)
1060:80            'color' ( temp 4-component vector of float)
1070:80            'bigColor4' ( uniform 4-component vector of float)
1080:81          Test condition and select ( temp void)
1090:81            Condition
1100:81            Compare Less Than ( temp bool)
1110:81              direct index ( temp float)
1120:81                'color' ( temp 4-component vector of float)
1130:81                Constant:
1140:81                  0 (const int)
1150:81              'd4' ( uniform float)
1160:81            true case
1170:82            Sequence
1180:82              add second child into first child ( temp float)
1190:82                direct index ( temp float)
1200:82                  'color' ( temp 4-component vector of float)
1210:82                  Constant:
1220:82                    2 (const int)
1230:82                Constant:
1240:82                  2.000000
1250:83              Test condition and select ( temp void)
1260:83                Condition
1270:83                Compare Less Than ( temp bool)
1280:83                  direct index ( temp float)
1290:83                    'color' ( temp 4-component vector of float)
1300:83                    Constant:
1310:83                      2 (const int)
1320:83                  'd4' ( uniform float)
1330:83                true case
1340:84                Sequence
1350:84                  Post-Increment ( temp float)
1360:84                    direct index ( temp float)
1370:84                      'color' ( temp 4-component vector of float)
1380:84                      Constant:
1390:84                        0 (const int)
1400:85                  Branch: Continue
1410:88          Test condition and select ( temp void)
1420:88            Condition
1430:88            Compare Less Than ( temp bool)
1440:88              direct index ( temp float)
1450:88                'color' ( temp 4-component vector of float)
1460:88                Constant:
1470:88                  1 (const int)
1480:88              'd4' ( uniform float)
1490:88            true case
1500:89            add second child into first child ( temp float)
1510:89              direct index ( temp float)
1520:89                'color' ( temp 4-component vector of float)
1530:89                Constant:
1540:89                  1 (const int)
1550:89              'd4' ( uniform float)
1560:88            false case
1570:91            add second child into first child ( temp float)
1580:91              direct index ( temp float)
1590:91                'color' ( temp 4-component vector of float)
1600:91                Constant:
1610:91                  0 (const int)
1620:91              'd4' ( uniform float)
1630:94      Post-Increment ( temp 4-component vector of float)
1640:94        'color' ( temp 4-component vector of float)
1650:95      move second child to first child ( temp 4-component vector of float)
1660:95        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1670:95        'color' ( temp 4-component vector of float)
1680:?   Linker Objects
1690:?     'bigColor' ( uniform 4-component vector of float)
1700:?     'bigColor1_1' ( uniform 4-component vector of float)
1710:?     'bigColor1_2' ( uniform 4-component vector of float)
1720:?     'bigColor1_3' ( uniform 4-component vector of float)
1730:?     'bigColor2' ( uniform 4-component vector of float)
1740:?     'bigColor3' ( uniform 4-component vector of float)
1750:?     'bigColor4' ( uniform 4-component vector of float)
1760:?     'bigColor5' ( uniform 4-component vector of float)
1770:?     'bigColor6' ( uniform 4-component vector of float)
1780:?     'bigColor7' ( uniform 4-component vector of float)
1790:?     'bigColor8' ( uniform 4-component vector of float)
1800:?     'BaseColor' ( smooth in 4-component vector of float)
1810:?     'd' ( uniform float)
1820:?     'd2' ( uniform float)
1830:?     'd3' ( uniform float)
1840:?     'd4' ( uniform float)
1850:?     'd5' ( uniform float)
1860:?     'd6' ( uniform float)
1870:?     'd7' ( uniform float)
1880:?     'd8' ( uniform float)
1890:?     'd9' ( uniform float)
1900:?     'd10' ( uniform float)
1910:?     'd11' ( uniform float)
1920:?     'd12' ( uniform float)
1930:?     'd13' ( uniform float)
1940:?     'd14' ( uniform float)
1950:?     'd15' ( uniform float)
1960:?     'd16' ( uniform float)
1970:?     'd17' ( uniform float)
1980:?     'd18' ( uniform float)
1990:?     'd19' ( uniform float)
2000:?     'd20' ( uniform float)
2010:?     'd21' ( uniform float)
2020:?     'd22' ( uniform float)
2030:?     'd23' ( uniform float)
2040:?     'd24' ( uniform float)
2050:?     'd25' ( uniform float)
2060:?     'd26' ( uniform float)
2070:?     'd27' ( uniform float)
2080:?     'd28' ( uniform float)
2090:?     'd29' ( uniform float)
2100:?     'd30' ( uniform float)
2110:?     'd31' ( uniform float)
2120:?     'd32' ( uniform float)
2130:?     'd33' ( uniform float)
2140:?     'd34' ( uniform float)
2150:?     'Count' ( uniform int)
216
217
218Linked fragment stage:
219
220
221Shader version: 130
2220:? Sequence
2230:53  Function Definition: main( ( global void)
2240:53    Function Parameters:
2250:55    Sequence
2260:55      Sequence
2270:55        move second child to first child ( temp 4-component vector of float)
2280:55          'color' ( temp 4-component vector of float)
2290:55          'BaseColor' ( smooth in 4-component vector of float)
2300:71      Loop with condition not tested first
2310:71        Loop Condition
2320:71        Compare Less Than ( temp bool)
2330:71          direct index ( temp float)
2340:71            'color' ( temp 4-component vector of float)
2350:71            Constant:
2360:71              2 (const int)
2370:71          'd4' ( uniform float)
2380:71        Loop Body
2390:59        Sequence
2400:59          add second child into first child ( temp 4-component vector of float)
2410:59            'color' ( temp 4-component vector of float)
2420:59            'bigColor4' ( uniform 4-component vector of float)
2430:60          Test condition and select ( temp void)
2440:60            Condition
2450:60            Compare Less Than ( temp bool)
2460:60              direct index ( temp float)
2470:60                'color' ( temp 4-component vector of float)
2480:60                Constant:
2490:60                  0 (const int)
2500:60              'd4' ( uniform float)
2510:60            true case
2520:61            Sequence
2530:61              add second child into first child ( temp float)
2540:61                direct index ( temp float)
2550:61                  'color' ( temp 4-component vector of float)
2560:61                  Constant:
2570:61                    2 (const int)
2580:61                Constant:
2590:61                  2.000000
2600:62              Test condition and select ( temp void)
2610:62                Condition
2620:62                Compare Less Than ( temp bool)
2630:62                  direct index ( temp float)
2640:62                    'color' ( temp 4-component vector of float)
2650:62                    Constant:
2660:62                      2 (const int)
2670:62                  'd4' ( uniform float)
2680:62                true case
2690:63                Sequence
2700:63                  Post-Increment ( temp float)
2710:63                    direct index ( temp float)
2720:63                      'color' ( temp 4-component vector of float)
2730:63                      Constant:
2740:63                        0 (const int)
2750:64                  Branch: Continue
2760:67          Test condition and select ( temp void)
2770:67            Condition
2780:67            Compare Less Than ( temp bool)
2790:67              direct index ( temp float)
2800:67                'color' ( temp 4-component vector of float)
2810:67                Constant:
2820:67                  1 (const int)
2830:67              'd4' ( uniform float)
2840:67            true case
2850:68            add second child into first child ( temp float)
2860:68              direct index ( temp float)
2870:68                'color' ( temp 4-component vector of float)
2880:68                Constant:
2890:68                  1 (const int)
2900:68              'd4' ( uniform float)
2910:67            false case
2920:70            add second child into first child ( temp float)
2930:70              direct index ( temp float)
2940:70                'color' ( temp 4-component vector of float)
2950:70                Constant:
2960:70                  0 (const int)
2970:70              'd4' ( uniform float)
2980:74      Loop with condition tested first
2990:74        Loop Condition
3000:74        Compare Less Than ( temp bool)
3010:74          direct index ( temp float)
3020:74            'color' ( temp 4-component vector of float)
3030:74            Constant:
3040:74              3 (const int)
3050:74          'd13' ( uniform float)
3060:74        Loop Body
3070:75        Sequence
3080:75          Test condition and select ( temp void)
3090:75            Condition
3100:75            Compare Less Than ( temp bool)
3110:75              direct index ( temp float)
3120:75                'color' ( temp 4-component vector of float)
3130:75                Constant:
3140:75                  2 (const int)
3150:75              'd13' ( uniform float)
3160:75            true case
3170:76            Post-Increment ( temp 4-component vector of float)
3180:76              'color' ( temp 4-component vector of float)
3190:75            false case
3200:78            Post-Decrement ( temp 4-component vector of float)
3210:78              'color' ( temp 4-component vector of float)
3220:80          add second child into first child ( temp 4-component vector of float)
3230:80            'color' ( temp 4-component vector of float)
3240:80            'bigColor4' ( uniform 4-component vector of float)
3250:81          Test condition and select ( temp void)
3260:81            Condition
3270:81            Compare Less Than ( temp bool)
3280:81              direct index ( temp float)
3290:81                'color' ( temp 4-component vector of float)
3300:81                Constant:
3310:81                  0 (const int)
3320:81              'd4' ( uniform float)
3330:81            true case
3340:82            Sequence
3350:82              add second child into first child ( temp float)
3360:82                direct index ( temp float)
3370:82                  'color' ( temp 4-component vector of float)
3380:82                  Constant:
3390:82                    2 (const int)
3400:82                Constant:
3410:82                  2.000000
3420:83              Test condition and select ( temp void)
3430:83                Condition
3440:83                Compare Less Than ( temp bool)
3450:83                  direct index ( temp float)
3460:83                    'color' ( temp 4-component vector of float)
3470:83                    Constant:
3480:83                      2 (const int)
3490:83                  'd4' ( uniform float)
3500:83                true case
3510:84                Sequence
3520:84                  Post-Increment ( temp float)
3530:84                    direct index ( temp float)
3540:84                      'color' ( temp 4-component vector of float)
3550:84                      Constant:
3560:84                        0 (const int)
3570:85                  Branch: Continue
3580:88          Test condition and select ( temp void)
3590:88            Condition
3600:88            Compare Less Than ( temp bool)
3610:88              direct index ( temp float)
3620:88                'color' ( temp 4-component vector of float)
3630:88                Constant:
3640:88                  1 (const int)
3650:88              'd4' ( uniform float)
3660:88            true case
3670:89            add second child into first child ( temp float)
3680:89              direct index ( temp float)
3690:89                'color' ( temp 4-component vector of float)
3700:89                Constant:
3710:89                  1 (const int)
3720:89              'd4' ( uniform float)
3730:88            false case
3740:91            add second child into first child ( temp float)
3750:91              direct index ( temp float)
3760:91                'color' ( temp 4-component vector of float)
3770:91                Constant:
3780:91                  0 (const int)
3790:91              'd4' ( uniform float)
3800:94      Post-Increment ( temp 4-component vector of float)
3810:94        'color' ( temp 4-component vector of float)
3820:95      move second child to first child ( temp 4-component vector of float)
3830:95        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3840:95        'color' ( temp 4-component vector of float)
3850:?   Linker Objects
3860:?     'bigColor' ( uniform 4-component vector of float)
3870:?     'bigColor1_1' ( uniform 4-component vector of float)
3880:?     'bigColor1_2' ( uniform 4-component vector of float)
3890:?     'bigColor1_3' ( uniform 4-component vector of float)
3900:?     'bigColor2' ( uniform 4-component vector of float)
3910:?     'bigColor3' ( uniform 4-component vector of float)
3920:?     'bigColor4' ( uniform 4-component vector of float)
3930:?     'bigColor5' ( uniform 4-component vector of float)
3940:?     'bigColor6' ( uniform 4-component vector of float)
3950:?     'bigColor7' ( uniform 4-component vector of float)
3960:?     'bigColor8' ( uniform 4-component vector of float)
3970:?     'BaseColor' ( smooth in 4-component vector of float)
3980:?     'd' ( uniform float)
3990:?     'd2' ( uniform float)
4000:?     'd3' ( uniform float)
4010:?     'd4' ( uniform float)
4020:?     'd5' ( uniform float)
4030:?     'd6' ( uniform float)
4040:?     'd7' ( uniform float)
4050:?     'd8' ( uniform float)
4060:?     'd9' ( uniform float)
4070:?     'd10' ( uniform float)
4080:?     'd11' ( uniform float)
4090:?     'd12' ( uniform float)
4100:?     'd13' ( uniform float)
4110:?     'd14' ( uniform float)
4120:?     'd15' ( uniform float)
4130:?     'd16' ( uniform float)
4140:?     'd17' ( uniform float)
4150:?     'd18' ( uniform float)
4160:?     'd19' ( uniform float)
4170:?     'd20' ( uniform float)
4180:?     'd21' ( uniform float)
4190:?     'd22' ( uniform float)
4200:?     'd23' ( uniform float)
4210:?     'd24' ( uniform float)
4220:?     'd25' ( uniform float)
4230:?     'd26' ( uniform float)
4240:?     'd27' ( uniform float)
4250:?     'd28' ( uniform float)
4260:?     'd29' ( uniform float)
4270:?     'd30' ( uniform float)
4280:?     'd31' ( uniform float)
4290:?     'd32' ( uniform float)
4300:?     'd33' ( uniform float)
4310:?     'd34' ( uniform float)
4320:?     'Count' ( uniform int)
433
434