• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1matrix.frag
2WARNING: 0:6: varying deprecated in version 130; may be removed in future release
3WARNING: 0:17: varying deprecated in version 130; may be removed in future release
4WARNING: 0:22: varying deprecated in version 130; may be removed in future release
5
6Shader version: 130
70:? Sequence
80:25  Function Definition: main( ( global void)
90:25    Function Parameters:
100:27    Sequence
110:27      move second child to first child ( temp 4-component vector of float)
120:27        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
130:27        Construct vec4 ( temp 4-component vector of float)
140:27          direct index ( temp 4-component vector of float)
150:27            'un34' ( uniform 4X4 matrix of float)
160:27            Constant:
170:27              1 (const int)
180:28      add second child into first child ( temp 4-component vector of float)
190:28        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
200:28        Construct vec4 ( temp 4-component vector of float)
210:28          vector-times-matrix ( temp 3-component vector of float)
220:28            'Color' ( smooth in 3-component vector of float)
230:28            'colorTransform' ( uniform 3X3 matrix of float)
240:28          Constant:
250:28            1.000000
260:30      Test condition and select ( temp void)
270:30        Condition
280:30        Compare Not Equal ( temp bool)
290:30          'm' ( uniform 4X4 matrix of float)
300:30          'n' ( uniform 4X4 matrix of float)
310:30        true case
320:31        add second child into first child ( temp 4-component vector of float)
330:31          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
340:31          'v' ( smooth in 4-component vector of float)
350:30        false case
360:33        Sequence
370:33          add second child into first child ( temp 4-component vector of float)
380:33            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
390:33            matrix-times-vector ( temp 4-component vector of float)
400:33              'm' ( uniform 4X4 matrix of float)
410:33              'v' ( smooth in 4-component vector of float)
420:34          add second child into first child ( temp 4-component vector of float)
430:34            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
440:34            vector-times-matrix ( temp 4-component vector of float)
450:34              'v' ( smooth in 4-component vector of float)
460:34              subtract ( temp 4X4 matrix of float)
470:34                'm' ( uniform 4X4 matrix of float)
480:34                'n' ( uniform 4X4 matrix of float)
490:42      Sequence
500:42        move second child to first child ( temp 4X4 matrix of float)
510:42          'm34' ( temp 4X4 matrix of float)
520:45          Construct mat4 ( temp 4X4 matrix of float)
530:42            component-wise multiply ( temp float)
540:42              direct index ( temp float)
550:42                'v' ( smooth in 4-component vector of float)
560:42                Constant:
570:42                  0 (const int)
580:42              direct index ( temp float)
590:42                'u' ( smooth in 4-component vector of float)
600:42                Constant:
610:42                  0 (const int)
620:42            component-wise multiply ( temp float)
630:42              direct index ( temp float)
640:42                'v' ( smooth in 4-component vector of float)
650:42                Constant:
660:42                  0 (const int)
670:42              direct index ( temp float)
680:42                'u' ( smooth in 4-component vector of float)
690:42                Constant:
700:42                  1 (const int)
710:42            component-wise multiply ( temp float)
720:42              direct index ( temp float)
730:42                'v' ( smooth in 4-component vector of float)
740:42                Constant:
750:42                  0 (const int)
760:42              direct index ( temp float)
770:42                'u' ( smooth in 4-component vector of float)
780:42                Constant:
790:42                  2 (const int)
800:42            component-wise multiply ( temp float)
810:42              direct index ( temp float)
820:42                'v' ( smooth in 4-component vector of float)
830:42                Constant:
840:42                  0 (const int)
850:42              direct index ( temp float)
860:42                'u' ( smooth in 4-component vector of float)
870:42                Constant:
880:42                  3 (const int)
890:43            component-wise multiply ( temp float)
900:43              direct index ( temp float)
910:43                'v' ( smooth in 4-component vector of float)
920:43                Constant:
930:43                  1 (const int)
940:43              direct index ( temp float)
950:43                'u' ( smooth in 4-component vector of float)
960:43                Constant:
970:43                  0 (const int)
980:43            component-wise multiply ( temp float)
990:43              direct index ( temp float)
1000:43                'v' ( smooth in 4-component vector of float)
1010:43                Constant:
1020:43                  1 (const int)
1030:43              direct index ( temp float)
1040:43                'u' ( smooth in 4-component vector of float)
1050:43                Constant:
1060:43                  1 (const int)
1070:43            component-wise multiply ( temp float)
1080:43              direct index ( temp float)
1090:43                'v' ( smooth in 4-component vector of float)
1100:43                Constant:
1110:43                  1 (const int)
1120:43              direct index ( temp float)
1130:43                'u' ( smooth in 4-component vector of float)
1140:43                Constant:
1150:43                  2 (const int)
1160:43            component-wise multiply ( temp float)
1170:43              direct index ( temp float)
1180:43                'v' ( smooth in 4-component vector of float)
1190:43                Constant:
1200:43                  1 (const int)
1210:43              direct index ( temp float)
1220:43                'u' ( smooth in 4-component vector of float)
1230:43                Constant:
1240:43                  3 (const int)
1250:44            component-wise multiply ( temp float)
1260:44              direct index ( temp float)
1270:44                'v' ( smooth in 4-component vector of float)
1280:44                Constant:
1290:44                  2 (const int)
1300:44              direct index ( temp float)
1310:44                'u' ( smooth in 4-component vector of float)
1320:44                Constant:
1330:44                  0 (const int)
1340:44            component-wise multiply ( temp float)
1350:44              direct index ( temp float)
1360:44                'v' ( smooth in 4-component vector of float)
1370:44                Constant:
1380:44                  2 (const int)
1390:44              direct index ( temp float)
1400:44                'u' ( smooth in 4-component vector of float)
1410:44                Constant:
1420:44                  1 (const int)
1430:44            component-wise multiply ( temp float)
1440:44              direct index ( temp float)
1450:44                'v' ( smooth in 4-component vector of float)
1460:44                Constant:
1470:44                  2 (const int)
1480:44              direct index ( temp float)
1490:44                'u' ( smooth in 4-component vector of float)
1500:44                Constant:
1510:44                  2 (const int)
1520:44            component-wise multiply ( temp float)
1530:44              direct index ( temp float)
1540:44                'v' ( smooth in 4-component vector of float)
1550:44                Constant:
1560:44                  2 (const int)
1570:44              direct index ( temp float)
1580:44                'u' ( smooth in 4-component vector of float)
1590:44                Constant:
1600:44                  3 (const int)
1610:45            component-wise multiply ( temp float)
1620:45              direct index ( temp float)
1630:45                'v' ( smooth in 4-component vector of float)
1640:45                Constant:
1650:45                  3 (const int)
1660:45              direct index ( temp float)
1670:45                'u' ( smooth in 4-component vector of float)
1680:45                Constant:
1690:45                  0 (const int)
1700:45            component-wise multiply ( temp float)
1710:45              direct index ( temp float)
1720:45                'v' ( smooth in 4-component vector of float)
1730:45                Constant:
1740:45                  3 (const int)
1750:45              direct index ( temp float)
1760:45                'u' ( smooth in 4-component vector of float)
1770:45                Constant:
1780:45                  1 (const int)
1790:45            component-wise multiply ( temp float)
1800:45              direct index ( temp float)
1810:45                'v' ( smooth in 4-component vector of float)
1820:45                Constant:
1830:45                  3 (const int)
1840:45              direct index ( temp float)
1850:45                'u' ( smooth in 4-component vector of float)
1860:45                Constant:
1870:45                  2 (const int)
1880:45            component-wise multiply ( temp float)
1890:45              direct index ( temp float)
1900:45                'v' ( smooth in 4-component vector of float)
1910:45                Constant:
1920:45                  3 (const int)
1930:45              direct index ( temp float)
1940:45                'u' ( smooth in 4-component vector of float)
1950:45                Constant:
1960:45                  3 (const int)
1970:46      add second child into first child ( temp 4X4 matrix of float)
1980:46        'm34' ( temp 4X4 matrix of float)
1990:46        Construct mat4 ( temp 4X4 matrix of float)
2000:46          direct index ( temp float)
2010:46            'v' ( smooth in 4-component vector of float)
2020:46            Constant:
2030:46              0 (const int)
2040:47      add second child into first child ( temp 4X4 matrix of float)
2050:47        'm34' ( temp 4X4 matrix of float)
2060:47        Construct mat4 ( temp 4X4 matrix of float)
2070:47          'u' ( smooth in 4-component vector of float)
2080:47          direct index ( temp float)
2090:47            'u' ( smooth in 4-component vector of float)
2100:47            Constant:
2110:47              0 (const int)
2120:47          'u' ( smooth in 4-component vector of float)
2130:47          direct index ( temp float)
2140:47            'u' ( smooth in 4-component vector of float)
2150:47            Constant:
2160:47              0 (const int)
2170:47          'u' ( smooth in 4-component vector of float)
2180:47          direct index ( temp float)
2190:47            'u' ( smooth in 4-component vector of float)
2200:47            Constant:
2210:47              0 (const int)
2220:47          direct index ( temp float)
2230:47            'u' ( smooth in 4-component vector of float)
2240:47            Constant:
2250:47              0 (const int)
2260:51      Test condition and select ( temp void)
2270:51        Condition
2280:51        Compare Equal ( temp bool)
2290:51          'm34' ( temp 4X4 matrix of float)
2300:51          'un34' ( uniform 4X4 matrix of float)
2310:51        true case
2320:52        add second child into first child ( temp 4-component vector of float)
2330:52          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2340:52          matrix-times-vector ( temp 4-component vector of float)
2350:52            'm34' ( temp 4X4 matrix of float)
2360:52            'u' ( smooth in 4-component vector of float)
2370:51        false case
2380:54        add second child into first child ( temp 4-component vector of float)
2390:54          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2400:54          matrix-times-vector ( temp 4-component vector of float)
2410:54            matrix-multiply ( temp 4X4 matrix of float)
2420:54              'un34' ( uniform 4X4 matrix of float)
2430:54              'um43' ( uniform 4X4 matrix of float)
2440:54            'v' ( smooth in 4-component vector of float)
2450:?   Linker Objects
2460:?     'colorTransform' ( uniform 3X3 matrix of float)
2470:?     'Color' ( smooth in 3-component vector of float)
2480:?     'm' ( uniform 4X4 matrix of float)
2490:?     'n' ( uniform 4X4 matrix of float)
2500:?     'um43' ( uniform 4X4 matrix of float)
2510:?     'un34' ( uniform 4X4 matrix of float)
2520:?     'v' ( smooth in 4-component vector of float)
2530:?     'u' ( smooth in 4-component vector of float)
254
255
256Linked fragment stage:
257
258
259Shader version: 130
2600:? Sequence
2610:25  Function Definition: main( ( global void)
2620:25    Function Parameters:
2630:27    Sequence
2640:27      move second child to first child ( temp 4-component vector of float)
2650:27        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2660:27        Construct vec4 ( temp 4-component vector of float)
2670:27          direct index ( temp 4-component vector of float)
2680:27            'un34' ( uniform 4X4 matrix of float)
2690:27            Constant:
2700:27              1 (const int)
2710:28      add second child into first child ( temp 4-component vector of float)
2720:28        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2730:28        Construct vec4 ( temp 4-component vector of float)
2740:28          vector-times-matrix ( temp 3-component vector of float)
2750:28            'Color' ( smooth in 3-component vector of float)
2760:28            'colorTransform' ( uniform 3X3 matrix of float)
2770:28          Constant:
2780:28            1.000000
2790:30      Test condition and select ( temp void)
2800:30        Condition
2810:30        Compare Not Equal ( temp bool)
2820:30          'm' ( uniform 4X4 matrix of float)
2830:30          'n' ( uniform 4X4 matrix of float)
2840:30        true case
2850:31        add second child into first child ( temp 4-component vector of float)
2860:31          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2870:31          'v' ( smooth in 4-component vector of float)
2880:30        false case
2890:33        Sequence
2900:33          add second child into first child ( temp 4-component vector of float)
2910:33            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2920:33            matrix-times-vector ( temp 4-component vector of float)
2930:33              'm' ( uniform 4X4 matrix of float)
2940:33              'v' ( smooth in 4-component vector of float)
2950:34          add second child into first child ( temp 4-component vector of float)
2960:34            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2970:34            vector-times-matrix ( temp 4-component vector of float)
2980:34              'v' ( smooth in 4-component vector of float)
2990:34              subtract ( temp 4X4 matrix of float)
3000:34                'm' ( uniform 4X4 matrix of float)
3010:34                'n' ( uniform 4X4 matrix of float)
3020:42      Sequence
3030:42        move second child to first child ( temp 4X4 matrix of float)
3040:42          'm34' ( temp 4X4 matrix of float)
3050:45          Construct mat4 ( temp 4X4 matrix of float)
3060:42            component-wise multiply ( temp float)
3070:42              direct index ( temp float)
3080:42                'v' ( smooth in 4-component vector of float)
3090:42                Constant:
3100:42                  0 (const int)
3110:42              direct index ( temp float)
3120:42                'u' ( smooth in 4-component vector of float)
3130:42                Constant:
3140:42                  0 (const int)
3150:42            component-wise multiply ( temp float)
3160:42              direct index ( temp float)
3170:42                'v' ( smooth in 4-component vector of float)
3180:42                Constant:
3190:42                  0 (const int)
3200:42              direct index ( temp float)
3210:42                'u' ( smooth in 4-component vector of float)
3220:42                Constant:
3230:42                  1 (const int)
3240:42            component-wise multiply ( temp float)
3250:42              direct index ( temp float)
3260:42                'v' ( smooth in 4-component vector of float)
3270:42                Constant:
3280:42                  0 (const int)
3290:42              direct index ( temp float)
3300:42                'u' ( smooth in 4-component vector of float)
3310:42                Constant:
3320:42                  2 (const int)
3330:42            component-wise multiply ( temp float)
3340:42              direct index ( temp float)
3350:42                'v' ( smooth in 4-component vector of float)
3360:42                Constant:
3370:42                  0 (const int)
3380:42              direct index ( temp float)
3390:42                'u' ( smooth in 4-component vector of float)
3400:42                Constant:
3410:42                  3 (const int)
3420:43            component-wise multiply ( temp float)
3430:43              direct index ( temp float)
3440:43                'v' ( smooth in 4-component vector of float)
3450:43                Constant:
3460:43                  1 (const int)
3470:43              direct index ( temp float)
3480:43                'u' ( smooth in 4-component vector of float)
3490:43                Constant:
3500:43                  0 (const int)
3510:43            component-wise multiply ( temp float)
3520:43              direct index ( temp float)
3530:43                'v' ( smooth in 4-component vector of float)
3540:43                Constant:
3550:43                  1 (const int)
3560:43              direct index ( temp float)
3570:43                'u' ( smooth in 4-component vector of float)
3580:43                Constant:
3590:43                  1 (const int)
3600:43            component-wise multiply ( temp float)
3610:43              direct index ( temp float)
3620:43                'v' ( smooth in 4-component vector of float)
3630:43                Constant:
3640:43                  1 (const int)
3650:43              direct index ( temp float)
3660:43                'u' ( smooth in 4-component vector of float)
3670:43                Constant:
3680:43                  2 (const int)
3690:43            component-wise multiply ( temp float)
3700:43              direct index ( temp float)
3710:43                'v' ( smooth in 4-component vector of float)
3720:43                Constant:
3730:43                  1 (const int)
3740:43              direct index ( temp float)
3750:43                'u' ( smooth in 4-component vector of float)
3760:43                Constant:
3770:43                  3 (const int)
3780:44            component-wise multiply ( temp float)
3790:44              direct index ( temp float)
3800:44                'v' ( smooth in 4-component vector of float)
3810:44                Constant:
3820:44                  2 (const int)
3830:44              direct index ( temp float)
3840:44                'u' ( smooth in 4-component vector of float)
3850:44                Constant:
3860:44                  0 (const int)
3870:44            component-wise multiply ( temp float)
3880:44              direct index ( temp float)
3890:44                'v' ( smooth in 4-component vector of float)
3900:44                Constant:
3910:44                  2 (const int)
3920:44              direct index ( temp float)
3930:44                'u' ( smooth in 4-component vector of float)
3940:44                Constant:
3950:44                  1 (const int)
3960:44            component-wise multiply ( temp float)
3970:44              direct index ( temp float)
3980:44                'v' ( smooth in 4-component vector of float)
3990:44                Constant:
4000:44                  2 (const int)
4010:44              direct index ( temp float)
4020:44                'u' ( smooth in 4-component vector of float)
4030:44                Constant:
4040:44                  2 (const int)
4050:44            component-wise multiply ( temp float)
4060:44              direct index ( temp float)
4070:44                'v' ( smooth in 4-component vector of float)
4080:44                Constant:
4090:44                  2 (const int)
4100:44              direct index ( temp float)
4110:44                'u' ( smooth in 4-component vector of float)
4120:44                Constant:
4130:44                  3 (const int)
4140:45            component-wise multiply ( temp float)
4150:45              direct index ( temp float)
4160:45                'v' ( smooth in 4-component vector of float)
4170:45                Constant:
4180:45                  3 (const int)
4190:45              direct index ( temp float)
4200:45                'u' ( smooth in 4-component vector of float)
4210:45                Constant:
4220:45                  0 (const int)
4230:45            component-wise multiply ( temp float)
4240:45              direct index ( temp float)
4250:45                'v' ( smooth in 4-component vector of float)
4260:45                Constant:
4270:45                  3 (const int)
4280:45              direct index ( temp float)
4290:45                'u' ( smooth in 4-component vector of float)
4300:45                Constant:
4310:45                  1 (const int)
4320:45            component-wise multiply ( temp float)
4330:45              direct index ( temp float)
4340:45                'v' ( smooth in 4-component vector of float)
4350:45                Constant:
4360:45                  3 (const int)
4370:45              direct index ( temp float)
4380:45                'u' ( smooth in 4-component vector of float)
4390:45                Constant:
4400:45                  2 (const int)
4410:45            component-wise multiply ( temp float)
4420:45              direct index ( temp float)
4430:45                'v' ( smooth in 4-component vector of float)
4440:45                Constant:
4450:45                  3 (const int)
4460:45              direct index ( temp float)
4470:45                'u' ( smooth in 4-component vector of float)
4480:45                Constant:
4490:45                  3 (const int)
4500:46      add second child into first child ( temp 4X4 matrix of float)
4510:46        'm34' ( temp 4X4 matrix of float)
4520:46        Construct mat4 ( temp 4X4 matrix of float)
4530:46          direct index ( temp float)
4540:46            'v' ( smooth in 4-component vector of float)
4550:46            Constant:
4560:46              0 (const int)
4570:47      add second child into first child ( temp 4X4 matrix of float)
4580:47        'm34' ( temp 4X4 matrix of float)
4590:47        Construct mat4 ( temp 4X4 matrix of float)
4600:47          'u' ( smooth in 4-component vector of float)
4610:47          direct index ( temp float)
4620:47            'u' ( smooth in 4-component vector of float)
4630:47            Constant:
4640:47              0 (const int)
4650:47          'u' ( smooth in 4-component vector of float)
4660:47          direct index ( temp float)
4670:47            'u' ( smooth in 4-component vector of float)
4680:47            Constant:
4690:47              0 (const int)
4700:47          'u' ( smooth in 4-component vector of float)
4710:47          direct index ( temp float)
4720:47            'u' ( smooth in 4-component vector of float)
4730:47            Constant:
4740:47              0 (const int)
4750:47          direct index ( temp float)
4760:47            'u' ( smooth in 4-component vector of float)
4770:47            Constant:
4780:47              0 (const int)
4790:51      Test condition and select ( temp void)
4800:51        Condition
4810:51        Compare Equal ( temp bool)
4820:51          'm34' ( temp 4X4 matrix of float)
4830:51          'un34' ( uniform 4X4 matrix of float)
4840:51        true case
4850:52        add second child into first child ( temp 4-component vector of float)
4860:52          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
4870:52          matrix-times-vector ( temp 4-component vector of float)
4880:52            'm34' ( temp 4X4 matrix of float)
4890:52            'u' ( smooth in 4-component vector of float)
4900:51        false case
4910:54        add second child into first child ( temp 4-component vector of float)
4920:54          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
4930:54          matrix-times-vector ( temp 4-component vector of float)
4940:54            matrix-multiply ( temp 4X4 matrix of float)
4950:54              'un34' ( uniform 4X4 matrix of float)
4960:54              'um43' ( uniform 4X4 matrix of float)
4970:54            'v' ( smooth in 4-component vector of float)
4980:?   Linker Objects
4990:?     'colorTransform' ( uniform 3X3 matrix of float)
5000:?     'Color' ( smooth in 3-component vector of float)
5010:?     'm' ( uniform 4X4 matrix of float)
5020:?     'n' ( uniform 4X4 matrix of float)
5030:?     'um43' ( uniform 4X4 matrix of float)
5040:?     'un34' ( uniform 4X4 matrix of float)
5050:?     'v' ( smooth in 4-component vector of float)
5060:?     'u' ( smooth in 4-component vector of float)
507
508