• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1localAggregates.frag
2WARNING: 0:4: varying deprecated in version 130; may be removed in future release
3WARNING: 0:5: varying deprecated in version 130; may be removed in future release
4
5Shader version: 130
60:? Sequence
70:34  Function Definition: main( ( global void)
80:34    Function Parameters:
90:?     Sequence
100:41      move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
110:41        'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
120:41        s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
130:41          'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
140:41          Constant:
150:41            0 (const int)
160:43      Test condition and select ( temp void)
170:43        Condition
180:43        Compare Greater Than ( temp bool)
190:43          i: direct index for structure ( global int)
200:43            s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
210:43              'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
220:43              Constant:
230:43                0 (const int)
240:43            Constant:
250:43              0 (const int)
260:43          Constant:
270:43            0 (const int)
280:43        true case
290:44        Sequence
300:44          move second child to first child ( temp float)
310:44            f: direct index for structure ( global float)
320:44              s1_1: direct index for structure ( global structure{ global int i,  global float f})
330:44                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
340:44                Constant:
350:44                  2 (const int)
360:44              Constant:
370:44                1 (const int)
380:44            Constant:
390:44              1.000000
400:45          move second child to first child ( temp float)
410:45            direct index ( temp float)
420:45              'localFArray' ( temp 16-element array of float)
430:45              Constant:
440:45                4 (const int)
450:45            direct index ( temp float)
460:45              'coord' ( smooth in 2-component vector of float)
470:45              Constant:
480:45                0 (const int)
490:46          move second child to first child ( temp int)
500:46            direct index ( temp int)
510:46              'localIArray' ( temp 8-element array of int)
520:46              Constant:
530:46                2 (const int)
540:46            i: direct index for structure ( global int)
550:46              s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
560:46                'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
570:46                Constant:
580:46                  0 (const int)
590:46              Constant:
600:46                0 (const int)
610:43        false case
620:48        Sequence
630:48          move second child to first child ( temp float)
640:48            f: direct index for structure ( global float)
650:48              s1_1: direct index for structure ( global structure{ global int i,  global float f})
660:48                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
670:48                Constant:
680:48                  2 (const int)
690:48              Constant:
700:48                1 (const int)
710:48            direct index ( temp float)
720:48              'coord' ( smooth in 2-component vector of float)
730:48              Constant:
740:48                0 (const int)
750:49          move second child to first child ( temp float)
760:49            direct index ( temp float)
770:49              'localFArray' ( temp 16-element array of float)
780:49              Constant:
790:49                4 (const int)
800:49            Constant:
810:49              1.000000
820:50          move second child to first child ( temp int)
830:50            direct index ( temp int)
840:50              'localIArray' ( temp 8-element array of int)
850:50              Constant:
860:50                2 (const int)
870:50            Constant:
880:50              0 (const int)
890:53      Test condition and select ( temp void)
900:53        Condition
910:53        Compare Equal ( temp bool)
920:53          direct index ( temp int)
930:53            'localIArray' ( temp 8-element array of int)
940:53            Constant:
950:53              2 (const int)
960:53          Constant:
970:53            0 (const int)
980:53        true case
990:54        Pre-Increment ( temp float)
1000:54          direct index ( temp float)
1010:54            'localFArray' ( temp 16-element array of float)
1020:54            Constant:
1030:54              4 (const int)
1040:57      Sequence
1050:57        move second child to first child ( temp int)
1060:57          'x' ( temp int)
1070:57          Constant:
1080:57            5 (const int)
1090:58      move second child to first child ( temp float)
1100:58        indirect index ( temp float)
1110:58          'localArray' ( temp 16-element array of float)
1120:58          'x' ( temp int)
1130:58        direct index ( temp float)
1140:58          'coord' ( smooth in 2-component vector of float)
1150:58          Constant:
1160:58            0 (const int)
1170:62      Sequence
1180:62        Sequence
1190:62          move second child to first child ( temp int)
1200:62            'i' ( temp int)
1210:62            Constant:
1220:62              0 (const int)
1230:62        Loop with condition tested first
1240:62          Loop Condition
1250:62          Compare Less Than ( temp bool)
1260:62            'i' ( temp int)
1270:62            Constant:
1280:62              16 (const int)
1290:62          Loop Body
1300:63          move second child to first child ( temp float)
1310:63            indirect index ( temp float)
1320:63              'a' ( temp 16-element array of float)
1330:63              'i' ( temp int)
1340:63            Constant:
1350:63              0.000000
1360:62          Loop Terminal Expression
1370:62          Post-Increment ( temp int)
1380:62            'i' ( temp int)
1390:65      Test condition and select ( temp void)
1400:65        Condition
1410:65        Compare Equal ( temp bool)
1420:65          'condition' ( uniform int)
1430:65          Constant:
1440:65            1 (const int)
1450:65        true case
1460:66        move second child to first child ( temp 16-element array of float)
1470:66          'a' ( temp 16-element array of float)
1480:66          'localArray' ( temp 16-element array of float)
1490:68      move second child to first child ( temp 4-component vector of float)
1500:68        bleh: direct index for structure ( global 4-component vector of float)
1510:68          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
1520:68          Constant:
1530:68            3 (const int)
1540:68        'color' ( smooth in 4-component vector of float)
1550:69      move second child to first child ( temp float)
1560:69        direct index ( temp float)
1570:69          bleh: direct index for structure ( global 4-component vector of float)
1580:69            'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
1590:69            Constant:
1600:69              3 (const int)
1610:69          Constant:
1620:69            2 (const int)
1630:69        direct index ( temp float)
1640:69          'coord' ( smooth in 2-component vector of float)
1650:69          Constant:
1660:69            1 (const int)
1670:71      move second child to first child ( temp 4-component vector of float)
1680:71        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1690:71        component-wise multiply ( temp 4-component vector of float)
1700:71          vector-scale ( temp 4-component vector of float)
1710:71            bleh: direct index for structure ( global 4-component vector of float)
1720:71              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
1730:71              Constant:
1740:71                3 (const int)
1750:71            add ( temp float)
1760:71              add ( temp float)
1770:71                add ( temp float)
1780:71                  direct index ( temp float)
1790:71                    'localFArray' ( temp 16-element array of float)
1800:71                    Constant:
1810:71                      4 (const int)
1820:71                  f: direct index for structure ( global float)
1830:71                    s1_1: direct index for structure ( global structure{ global int i,  global float f})
1840:71                      'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
1850:71                      Constant:
1860:71                        2 (const int)
1870:71                    Constant:
1880:71                      1 (const int)
1890:71                indirect index ( temp float)
1900:71                  'localArray' ( temp 16-element array of float)
1910:71                  'x' ( temp int)
1920:71              indirect index ( temp float)
1930:71                'a' ( temp 16-element array of float)
1940:71                'x' ( temp int)
1950:71          texture ( global 4-component vector of float)
1960:71            'sampler' ( uniform sampler2D)
1970:71            'coord' ( smooth in 2-component vector of float)
1980:?   Linker Objects
1990:?     'sampler' ( uniform sampler2D)
2000:?     'coord' ( smooth in 2-component vector of float)
2010:?     'color' ( smooth in 4-component vector of float)
2020:?     'foo' ( uniform structure{ global int i,  global float f})
2030:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2040:?     'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
2050:?     'uFloatArray' ( uniform 16-element array of float)
2060:?     'condition' ( uniform int)
207
208
209Linked fragment stage:
210
211
212Shader version: 130
2130:? Sequence
2140:34  Function Definition: main( ( global void)
2150:34    Function Parameters:
2160:?     Sequence
2170:41      move second child to first child ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2180:41        'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2190:41        s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2200:41          'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
2210:41          Constant:
2220:41            0 (const int)
2230:43      Test condition and select ( temp void)
2240:43        Condition
2250:43        Compare Greater Than ( temp bool)
2260:43          i: direct index for structure ( global int)
2270:43            s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2280:43              'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
2290:43              Constant:
2300:43                0 (const int)
2310:43            Constant:
2320:43              0 (const int)
2330:43          Constant:
2340:43            0 (const int)
2350:43        true case
2360:44        Sequence
2370:44          move second child to first child ( temp float)
2380:44            f: direct index for structure ( global float)
2390:44              s1_1: direct index for structure ( global structure{ global int i,  global float f})
2400:44                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2410:44                Constant:
2420:44                  2 (const int)
2430:44              Constant:
2440:44                1 (const int)
2450:44            Constant:
2460:44              1.000000
2470:45          move second child to first child ( temp float)
2480:45            direct index ( temp float)
2490:45              'localFArray' ( temp 16-element array of float)
2500:45              Constant:
2510:45                4 (const int)
2520:45            direct index ( temp float)
2530:45              'coord' ( smooth in 2-component vector of float)
2540:45              Constant:
2550:45                0 (const int)
2560:46          move second child to first child ( temp int)
2570:46            direct index ( temp int)
2580:46              'localIArray' ( temp 8-element array of int)
2590:46              Constant:
2600:46                2 (const int)
2610:46            i: direct index for structure ( global int)
2620:46              s2_1: direct index for structure ( global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2630:46                'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
2640:46                Constant:
2650:46                  0 (const int)
2660:46              Constant:
2670:46                0 (const int)
2680:43        false case
2690:48        Sequence
2700:48          move second child to first child ( temp float)
2710:48            f: direct index for structure ( global float)
2720:48              s1_1: direct index for structure ( global structure{ global int i,  global float f})
2730:48                'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
2740:48                Constant:
2750:48                  2 (const int)
2760:48              Constant:
2770:48                1 (const int)
2780:48            direct index ( temp float)
2790:48              'coord' ( smooth in 2-component vector of float)
2800:48              Constant:
2810:48                0 (const int)
2820:49          move second child to first child ( temp float)
2830:49            direct index ( temp float)
2840:49              'localFArray' ( temp 16-element array of float)
2850:49              Constant:
2860:49                4 (const int)
2870:49            Constant:
2880:49              1.000000
2890:50          move second child to first child ( temp int)
2900:50            direct index ( temp int)
2910:50              'localIArray' ( temp 8-element array of int)
2920:50              Constant:
2930:50                2 (const int)
2940:50            Constant:
2950:50              0 (const int)
2960:53      Test condition and select ( temp void)
2970:53        Condition
2980:53        Compare Equal ( temp bool)
2990:53          direct index ( temp int)
3000:53            'localIArray' ( temp 8-element array of int)
3010:53            Constant:
3020:53              2 (const int)
3030:53          Constant:
3040:53            0 (const int)
3050:53        true case
3060:54        Pre-Increment ( temp float)
3070:54          direct index ( temp float)
3080:54            'localFArray' ( temp 16-element array of float)
3090:54            Constant:
3100:54              4 (const int)
3110:57      Sequence
3120:57        move second child to first child ( temp int)
3130:57          'x' ( temp int)
3140:57          Constant:
3150:57            5 (const int)
3160:58      move second child to first child ( temp float)
3170:58        indirect index ( temp float)
3180:58          'localArray' ( temp 16-element array of float)
3190:58          'x' ( temp int)
3200:58        direct index ( temp float)
3210:58          'coord' ( smooth in 2-component vector of float)
3220:58          Constant:
3230:58            0 (const int)
3240:62      Sequence
3250:62        Sequence
3260:62          move second child to first child ( temp int)
3270:62            'i' ( temp int)
3280:62            Constant:
3290:62              0 (const int)
3300:62        Loop with condition tested first
3310:62          Loop Condition
3320:62          Compare Less Than ( temp bool)
3330:62            'i' ( temp int)
3340:62            Constant:
3350:62              16 (const int)
3360:62          Loop Body
3370:63          move second child to first child ( temp float)
3380:63            indirect index ( temp float)
3390:63              'a' ( temp 16-element array of float)
3400:63              'i' ( temp int)
3410:63            Constant:
3420:63              0.000000
3430:62          Loop Terminal Expression
3440:62          Post-Increment ( temp int)
3450:62            'i' ( temp int)
3460:65      Test condition and select ( temp void)
3470:65        Condition
3480:65        Compare Equal ( temp bool)
3490:65          'condition' ( uniform int)
3500:65          Constant:
3510:65            1 (const int)
3520:65        true case
3530:66        move second child to first child ( temp 16-element array of float)
3540:66          'a' ( temp 16-element array of float)
3550:66          'localArray' ( temp 16-element array of float)
3560:68      move second child to first child ( temp 4-component vector of float)
3570:68        bleh: direct index for structure ( global 4-component vector of float)
3580:68          'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
3590:68          Constant:
3600:68            3 (const int)
3610:68        'color' ( smooth in 4-component vector of float)
3620:69      move second child to first child ( temp float)
3630:69        direct index ( temp float)
3640:69          bleh: direct index for structure ( global 4-component vector of float)
3650:69            'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
3660:69            Constant:
3670:69              3 (const int)
3680:69          Constant:
3690:69            2 (const int)
3700:69        direct index ( temp float)
3710:69          'coord' ( smooth in 2-component vector of float)
3720:69          Constant:
3730:69            1 (const int)
3740:71      move second child to first child ( temp 4-component vector of float)
3750:71        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3760:71        component-wise multiply ( temp 4-component vector of float)
3770:71          vector-scale ( temp 4-component vector of float)
3780:71            bleh: direct index for structure ( global 4-component vector of float)
3790:71              'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
3800:71              Constant:
3810:71                3 (const int)
3820:71            add ( temp float)
3830:71              add ( temp float)
3840:71                add ( temp float)
3850:71                  direct index ( temp float)
3860:71                    'localFArray' ( temp 16-element array of float)
3870:71                    Constant:
3880:71                      4 (const int)
3890:71                  f: direct index for structure ( global float)
3900:71                    s1_1: direct index for structure ( global structure{ global int i,  global float f})
3910:71                      'locals2' ( temp structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
3920:71                      Constant:
3930:71                        2 (const int)
3940:71                    Constant:
3950:71                      1 (const int)
3960:71                indirect index ( temp float)
3970:71                  'localArray' ( temp 16-element array of float)
3980:71                  'x' ( temp int)
3990:71              indirect index ( temp float)
4000:71                'a' ( temp 16-element array of float)
4010:71                'x' ( temp int)
4020:71          texture ( global 4-component vector of float)
4030:71            'sampler' ( uniform sampler2D)
4040:71            'coord' ( smooth in 2-component vector of float)
4050:?   Linker Objects
4060:?     'sampler' ( uniform sampler2D)
4070:?     'coord' ( smooth in 2-component vector of float)
4080:?     'color' ( smooth in 4-component vector of float)
4090:?     'foo' ( uniform structure{ global int i,  global float f})
4100:?     'foo2' ( uniform structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh})
4110:?     'foo3' ( uniform structure{ global structure{ global int i,  global float f,  global structure{ global int i,  global float f} s1_1,  global 4-component vector of float bleh} s2_1,  global int i,  global float f,  global structure{ global int i,  global float f} s1_1})
4120:?     'uFloatArray' ( uniform 16-element array of float)
4130:?     'condition' ( uniform int)
414
415