1deepRvalue.frag
2Shader version: 120
30:? Sequence
40:5  Sequence
50:5    move second child to first child ( temp 4-component vector of float)
60:5      'v1' ( global 4-component vector of float)
70:5      Constant:
80:5        2.000000
90:5        3.000000
100:5        5.000000
110:5        7.000000
120:6  Sequence
130:6    move second child to first child ( temp 4-component vector of float)
140:6      'v2' ( global 4-component vector of float)
150:6      Constant:
160:6        11.000000
170:6        13.000000
180:6        17.000000
190:6        19.000000
200:7  Sequence
210:7    move second child to first child ( temp 4-component vector of float)
220:7      'v3' ( global 4-component vector of float)
230:7      Constant:
240:7        23.000000
250:7        29.000000
260:7        31.000000
270:7        37.000000
280:8  Sequence
290:8    move second child to first child ( temp 4-component vector of float)
300:8      'v4' ( global 4-component vector of float)
310:8      Constant:
320:8        41.000000
330:8        43.000000
340:8        47.000000
350:8        53.000000
360:16  Function Definition: main( ( global void)
370:16    Function Parameters:
380:18    Sequence
390:18      Sequence
400:18        move second child to first child ( temp 4X4 matrix of float)
410:18          'm' ( temp 4X4 matrix of float)
420:18          Construct mat4 ( temp 4X4 matrix of float)
430:18            'v1' ( global 4-component vector of float)
440:18            'v2' ( global 4-component vector of float)
450:18            'v3' ( global 4-component vector of float)
460:18            'v4' ( global 4-component vector of float)
470:20      Sequence
480:20        move second child to first child ( temp 4X4 matrix of float)
490:20          'mm' ( temp 4X4 matrix of float)
500:20          component-wise multiply ( global 4X4 matrix of float)
510:20            'm' ( temp 4X4 matrix of float)
520:20            'm' ( temp 4X4 matrix of float)
530:21      Sequence
540:21        move second child to first child ( temp float)
550:21          'f' ( temp float)
560:21          direct index ( temp float)
570:21            direct index ( temp 4-component vector of float)
580:21              'mm' ( temp 4X4 matrix of float)
590:21              Constant:
600:21                1 (const int)
610:21            Constant:
620:21              3 (const int)
630:24      Sequence
640:24        move second child to first child ( temp float)
650:24          'g' ( temp float)
660:24          direct index ( temp float)
670:24            direct index ( temp 4-component vector of float)
680:24              component-wise multiply ( global 4X4 matrix of float)
690:24                'm' ( temp 4X4 matrix of float)
700:24                'm' ( temp 4X4 matrix of float)
710:24              Constant:
720:24                2 (const int)
730:24            Constant:
740:24              1 (const int)
750:26      Sequence
760:26        move second child to first child ( temp float)
770:26          'h' ( temp float)
780:26          Constant:
790:26            5.000000
800:28      Sequence
810:28        move second child to first child ( temp float)
820:28          'i' ( temp float)
830:28          direct index ( temp float)
840:28            texture ( global 4-component vector of float)
850:28              'sampler' ( uniform sampler2D)
860:28              Constant:
870:28                0.500000
880:28                0.500000
890:28            Constant:
900:28              1 (const int)
910:30      add second child into first child ( temp float)
920:30        'i' ( temp float)
930:30        direct index ( temp float)
940:30          Test condition and select ( temp 4-component vector of float)
950:30            Condition
960:30            Compare Greater Than ( temp bool)
970:30              'i' ( temp float)
980:30              Constant:
990:30                0.100000
1000:30            true case
1010:30            'v1' ( global 4-component vector of float)
1020:30            false case
1030:30            'v2' ( global 4-component vector of float)
1040:30          Constant:
1050:30            3 (const int)
1060:33      add second child into first child ( temp float)
1070:33        'i' ( temp float)
1080:33        direct index ( temp float)
1090:33          direct index ( temp 2-component vector of float)
1100:33            b: direct index for structure ( global 3-element array of 2-component vector of float)
1110:33              move second child to first child ( temp structure{ global int a,  global 3-element array of 2-component vector of float b,  global bool c})
1120:33                't' ( temp structure{ global int a,  global 3-element array of 2-component vector of float b,  global bool c})
1130:33                Constant:
1140:33                  1 (const int)
1150:33                  2.000000
1160:33                  3.000000
1170:33                  4.000000
1180:33                  5.000000
1190:33                  6.000000
1200:33                  7.000000
1210:33                  true (const bool)
1220:33              Constant:
1230:33                1 (const int)
1240:33            Constant:
1250:33              2 (const int)
1260:33          Constant:
1270:33            1 (const int)
1280:35      move second child to first child ( temp 4-component vector of float)
1290:35        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
1300:35        Construct vec4 ( temp 4-component vector of float)
1310:35          'f' ( temp float)
1320:35          'g' ( temp float)
1330:35          'h' ( temp float)
1340:35          'i' ( temp float)
1350:?   Linker Objects
1360:?     'sampler' ( uniform sampler2D)
1370:?     'v1' ( global 4-component vector of float)
1380:?     'v2' ( global 4-component vector of float)
1390:?     'v3' ( global 4-component vector of float)
1400:?     'v4' ( global 4-component vector of float)
141
142
143Linked fragment stage:
144
145
146Shader version: 120
1470:? Sequence
1480:5  Sequence
1490:5    move second child to first child ( temp 4-component vector of float)
1500:5      'v1' ( global 4-component vector of float)
1510:5      Constant:
1520:5        2.000000
1530:5        3.000000
1540:5        5.000000
1550:5        7.000000
1560:6  Sequence
1570:6    move second child to first child ( temp 4-component vector of float)
1580:6      'v2' ( global 4-component vector of float)
1590:6      Constant:
1600:6        11.000000
1610:6        13.000000
1620:6        17.000000
1630:6        19.000000
1640:7  Sequence
1650:7    move second child to first child ( temp 4-component vector of float)
1660:7      'v3' ( global 4-component vector of float)
1670:7      Constant:
1680:7        23.000000
1690:7        29.000000
1700:7        31.000000
1710:7        37.000000
1720:8  Sequence
1730:8    move second child to first child ( temp 4-component vector of float)
1740:8      'v4' ( global 4-component vector of float)
1750:8      Constant:
1760:8        41.000000
1770:8        43.000000
1780:8        47.000000
1790:8        53.000000
1800:16  Function Definition: main( ( global void)
1810:16    Function Parameters:
1820:18    Sequence
1830:18      Sequence
1840:18        move second child to first child ( temp 4X4 matrix of float)
1850:18          'm' ( temp 4X4 matrix of float)
1860:18          Construct mat4 ( temp 4X4 matrix of float)
1870:18            'v1' ( global 4-component vector of float)
1880:18            'v2' ( global 4-component vector of float)
1890:18            'v3' ( global 4-component vector of float)
1900:18            'v4' ( global 4-component vector of float)
1910:20      Sequence
1920:20        move second child to first child ( temp 4X4 matrix of float)
1930:20          'mm' ( temp 4X4 matrix of float)
1940:20          component-wise multiply ( global 4X4 matrix of float)
1950:20            'm' ( temp 4X4 matrix of float)
1960:20            'm' ( temp 4X4 matrix of float)
1970:21      Sequence
1980:21        move second child to first child ( temp float)
1990:21          'f' ( temp float)
2000:21          direct index ( temp float)
2010:21            direct index ( temp 4-component vector of float)
2020:21              'mm' ( temp 4X4 matrix of float)
2030:21              Constant:
2040:21                1 (const int)
2050:21            Constant:
2060:21              3 (const int)
2070:24      Sequence
2080:24        move second child to first child ( temp float)
2090:24          'g' ( temp float)
2100:24          direct index ( temp float)
2110:24            direct index ( temp 4-component vector of float)
2120:24              component-wise multiply ( global 4X4 matrix of float)
2130:24                'm' ( temp 4X4 matrix of float)
2140:24                'm' ( temp 4X4 matrix of float)
2150:24              Constant:
2160:24                2 (const int)
2170:24            Constant:
2180:24              1 (const int)
2190:26      Sequence
2200:26        move second child to first child ( temp float)
2210:26          'h' ( temp float)
2220:26          Constant:
2230:26            5.000000
2240:28      Sequence
2250:28        move second child to first child ( temp float)
2260:28          'i' ( temp float)
2270:28          direct index ( temp float)
2280:28            texture ( global 4-component vector of float)
2290:28              'sampler' ( uniform sampler2D)
2300:28              Constant:
2310:28                0.500000
2320:28                0.500000
2330:28            Constant:
2340:28              1 (const int)
2350:30      add second child into first child ( temp float)
2360:30        'i' ( temp float)
2370:30        direct index ( temp float)
2380:30          Test condition and select ( temp 4-component vector of float)
2390:30            Condition
2400:30            Compare Greater Than ( temp bool)
2410:30              'i' ( temp float)
2420:30              Constant:
2430:30                0.100000
2440:30            true case
2450:30            'v1' ( global 4-component vector of float)
2460:30            false case
2470:30            'v2' ( global 4-component vector of float)
2480:30          Constant:
2490:30            3 (const int)
2500:33      add second child into first child ( temp float)
2510:33        'i' ( temp float)
2520:33        direct index ( temp float)
2530:33          direct index ( temp 2-component vector of float)
2540:33            b: direct index for structure ( global 3-element array of 2-component vector of float)
2550:33              move second child to first child ( temp structure{ global int a,  global 3-element array of 2-component vector of float b,  global bool c})
2560:33                't' ( temp structure{ global int a,  global 3-element array of 2-component vector of float b,  global bool c})
2570:33                Constant:
2580:33                  1 (const int)
2590:33                  2.000000
2600:33                  3.000000
2610:33                  4.000000
2620:33                  5.000000
2630:33                  6.000000
2640:33                  7.000000
2650:33                  true (const bool)
2660:33              Constant:
2670:33                1 (const int)
2680:33            Constant:
2690:33              2 (const int)
2700:33          Constant:
2710:33            1 (const int)
2720:35      move second child to first child ( temp 4-component vector of float)
2730:35        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2740:35        Construct vec4 ( temp 4-component vector of float)
2750:35          'f' ( temp float)
2760:35          'g' ( temp float)
2770:35          'h' ( temp float)
2780:35          'i' ( temp float)
2790:?   Linker Objects
2800:?     'sampler' ( uniform sampler2D)
2810:?     'v1' ( global 4-component vector of float)
2820:?     'v2' ( global 4-component vector of float)
2830:?     'v3' ( global 4-component vector of float)
2840:?     'v4' ( global 4-component vector of float)
285
286