• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1earlyReturnDiscard.frag
2Shader version: 110
30:? Sequence
40:19  Function Definition: main( ( global void)
50:19    Function Parameters:
60:21    Sequence
70:21      Sequence
80:21        move second child to first child ( temp 4-component vector of float)
90:21          'color' ( temp 4-component vector of float)
100:21          'BaseColor' ( smooth in 4-component vector of float)
110:24      move second child to first child ( temp 4-component vector of float)
120:24        'color2' ( temp 4-component vector of float)
130:24        'otherColor' ( uniform 4-component vector of float)
140:26      Test condition and select ( temp void)
150:26        Condition
160:26        Compare Greater Than ( temp bool)
170:26          'c' ( smooth in float)
180:26          'd' ( uniform float)
190:26        true case
200:27        add second child into first child ( temp 4-component vector of float)
210:27          'color' ( temp 4-component vector of float)
220:27          'bigColor' ( uniform 4-component vector of float)
230:26        false case
240:29        add second child into first child ( temp 4-component vector of float)
250:29          'color' ( temp 4-component vector of float)
260:29          'smallColor' ( uniform 4-component vector of float)
270:31      Test condition and select ( temp void)
280:31        Condition
290:31        Compare Less Than ( temp bool)
300:31          direct index ( temp float)
310:31            'color' ( temp 4-component vector of float)
320:31            Constant:
330:31              2 (const int)
340:31          'minimum' ( uniform float)
350:31        true case
360:32        Branch: Return
370:34      Post-Increment ( temp float)
380:34        direct index ( temp float)
390:34          'color' ( temp 4-component vector of float)
400:34          Constant:
410:34            2 (const int)
420:36      Test condition and select ( temp void)
430:36        Condition
440:36        Compare Greater Than ( temp bool)
450:36          direct index ( temp float)
460:36            'color' ( temp 4-component vector of float)
470:36            Constant:
480:36              2 (const int)
490:36          'threshhold' ( uniform float)
500:36        true case
510:37        Branch: Kill
520:39      Post-Increment ( temp 4-component vector of float)
530:39        'color' ( temp 4-component vector of float)
540:42      Test condition and select ( temp void)
550:42        Condition
560:42        Compare Greater Than ( temp bool)
570:42          direct index ( temp float)
580:42            'color' ( temp 4-component vector of float)
590:42            Constant:
600:42              3 (const int)
610:42          'threshhold2' ( uniform float)
620:42        true case
630:43        Sequence
640:43          Test condition and select ( temp void)
650:43            Condition
660:43            Compare Greater Than ( temp bool)
670:43              direct index ( temp float)
680:43                'color' ( temp 4-component vector of float)
690:43                Constant:
700:43                  2 (const int)
710:43              'threshhold2' ( uniform float)
720:43            true case
730:44            Branch: Return
740:43            false case
750:45            Test condition and select ( temp void)
760:45              Condition
770:45              'b' ( uniform bool)
780:45              true case
790:46              Post-Increment ( temp float)
800:46                direct index ( temp float)
810:46                  'color' ( temp 4-component vector of float)
820:46                  Constant:
830:46                    2 (const int)
840:45              false case
850:48              Sequence
860:48                Test condition and select ( temp void)
870:48                  Condition
880:48                  Compare Less Than ( temp bool)
890:48                    direct index ( temp float)
900:48                      'color' ( temp 4-component vector of float)
910:48                      Constant:
920:48                        0 (const int)
930:48                    'minimum' ( uniform float)
940:48                  true case
950:49                  Sequence
960:49                    Branch: Kill
970:48                  false case
980:51                  Sequence
990:51                    Post-Increment ( temp 4-component vector of float)
1000:51                      'color' ( temp 4-component vector of float)
1010:42        false case
1020:55        Sequence
1030:55          Test condition and select ( temp void)
1040:55            Condition
1050:55            'b' ( uniform bool)
1060:55            true case
1070:56            Branch: Kill
1080:55            false case
1090:58            Branch: Return
1100:101      move second child to first child ( temp 4-component vector of float)
1110:101        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1120:101        component-wise multiply ( temp 4-component vector of float)
1130:101          'color' ( temp 4-component vector of float)
1140:101          'color2' ( temp 4-component vector of float)
1150:?   Linker Objects
1160:?     'd' ( uniform float)
1170:?     'bigColor' ( uniform 4-component vector of float)
1180:?     'smallColor' ( uniform 4-component vector of float)
1190:?     'otherColor' ( uniform 4-component vector of float)
1200:?     'c' ( smooth in float)
1210:?     'threshhold' ( uniform float)
1220:?     'threshhold2' ( uniform float)
1230:?     'threshhold3' ( uniform float)
1240:?     'minimum' ( uniform float)
1250:?     'BaseColor' ( smooth in 4-component vector of float)
1260:?     'b' ( uniform bool)
127
128
129Linked fragment stage:
130
131
132Shader version: 110
1330:? Sequence
1340:19  Function Definition: main( ( global void)
1350:19    Function Parameters:
1360:21    Sequence
1370:21      Sequence
1380:21        move second child to first child ( temp 4-component vector of float)
1390:21          'color' ( temp 4-component vector of float)
1400:21          'BaseColor' ( smooth in 4-component vector of float)
1410:24      move second child to first child ( temp 4-component vector of float)
1420:24        'color2' ( temp 4-component vector of float)
1430:24        'otherColor' ( uniform 4-component vector of float)
1440:26      Test condition and select ( temp void)
1450:26        Condition
1460:26        Compare Greater Than ( temp bool)
1470:26          'c' ( smooth in float)
1480:26          'd' ( uniform float)
1490:26        true case
1500:27        add second child into first child ( temp 4-component vector of float)
1510:27          'color' ( temp 4-component vector of float)
1520:27          'bigColor' ( uniform 4-component vector of float)
1530:26        false case
1540:29        add second child into first child ( temp 4-component vector of float)
1550:29          'color' ( temp 4-component vector of float)
1560:29          'smallColor' ( uniform 4-component vector of float)
1570:31      Test condition and select ( temp void)
1580:31        Condition
1590:31        Compare Less Than ( temp bool)
1600:31          direct index ( temp float)
1610:31            'color' ( temp 4-component vector of float)
1620:31            Constant:
1630:31              2 (const int)
1640:31          'minimum' ( uniform float)
1650:31        true case
1660:32        Branch: Return
1670:34      Post-Increment ( temp float)
1680:34        direct index ( temp float)
1690:34          'color' ( temp 4-component vector of float)
1700:34          Constant:
1710:34            2 (const int)
1720:36      Test condition and select ( temp void)
1730:36        Condition
1740:36        Compare Greater Than ( temp bool)
1750:36          direct index ( temp float)
1760:36            'color' ( temp 4-component vector of float)
1770:36            Constant:
1780:36              2 (const int)
1790:36          'threshhold' ( uniform float)
1800:36        true case
1810:37        Branch: Kill
1820:39      Post-Increment ( temp 4-component vector of float)
1830:39        'color' ( temp 4-component vector of float)
1840:42      Test condition and select ( temp void)
1850:42        Condition
1860:42        Compare Greater Than ( temp bool)
1870:42          direct index ( temp float)
1880:42            'color' ( temp 4-component vector of float)
1890:42            Constant:
1900:42              3 (const int)
1910:42          'threshhold2' ( uniform float)
1920:42        true case
1930:43        Sequence
1940:43          Test condition and select ( temp void)
1950:43            Condition
1960:43            Compare Greater Than ( temp bool)
1970:43              direct index ( temp float)
1980:43                'color' ( temp 4-component vector of float)
1990:43                Constant:
2000:43                  2 (const int)
2010:43              'threshhold2' ( uniform float)
2020:43            true case
2030:44            Branch: Return
2040:43            false case
2050:45            Test condition and select ( temp void)
2060:45              Condition
2070:45              'b' ( uniform bool)
2080:45              true case
2090:46              Post-Increment ( temp float)
2100:46                direct index ( temp float)
2110:46                  'color' ( temp 4-component vector of float)
2120:46                  Constant:
2130:46                    2 (const int)
2140:45              false case
2150:48              Sequence
2160:48                Test condition and select ( temp void)
2170:48                  Condition
2180:48                  Compare Less Than ( temp bool)
2190:48                    direct index ( temp float)
2200:48                      'color' ( temp 4-component vector of float)
2210:48                      Constant:
2220:48                        0 (const int)
2230:48                    'minimum' ( uniform float)
2240:48                  true case
2250:49                  Sequence
2260:49                    Branch: Kill
2270:48                  false case
2280:51                  Sequence
2290:51                    Post-Increment ( temp 4-component vector of float)
2300:51                      'color' ( temp 4-component vector of float)
2310:42        false case
2320:55        Sequence
2330:55          Test condition and select ( temp void)
2340:55            Condition
2350:55            'b' ( uniform bool)
2360:55            true case
2370:56            Branch: Kill
2380:55            false case
2390:58            Branch: Return
2400:101      move second child to first child ( temp 4-component vector of float)
2410:101        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2420:101        component-wise multiply ( temp 4-component vector of float)
2430:101          'color' ( temp 4-component vector of float)
2440:101          'color2' ( temp 4-component vector of float)
2450:?   Linker Objects
2460:?     'd' ( uniform float)
2470:?     'bigColor' ( uniform 4-component vector of float)
2480:?     'smallColor' ( uniform 4-component vector of float)
2490:?     'otherColor' ( uniform 4-component vector of float)
2500:?     'c' ( smooth in float)
2510:?     'threshhold' ( uniform float)
2520:?     'threshhold2' ( uniform float)
2530:?     'threshhold3' ( uniform float)
2540:?     'minimum' ( uniform float)
2550:?     'BaseColor' ( smooth in 4-component vector of float)
2560:?     'b' ( uniform bool)
257
258