xref: /aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/matrix.frag.out (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
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:56      Sequence
2460:56        move second child to first child ( temp 4X2 matrix of float)
2470:56          'm42' ( temp 4X2 matrix of float)
2480:56          Constant:
2490:56            42.000000
2500:56            0.000000
2510:56            0.000000
2520:56            42.000000
2530:56            0.000000
2540:56            0.000000
2550:56            0.000000
2560:56            0.000000
2570:57      Test condition and select ( temp void)
2580:57        Condition
2590:57        Compare Equal ( temp bool)
2600:57          'm42' ( temp 4X2 matrix of float)
2610:57          Constant:
2620:57            42.000000
2630:57            0.000000
2640:57            0.000000
2650:57            42.000000
2660:57            0.000000
2670:57            0.000000
2680:57            0.000000
2690:57            0.000000
2700:57        true case
2710:58        Sequence
2720:58          add second child into first child ( temp 4-component vector of float)
2730:58            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2740:58            'v' ( smooth in 4-component vector of float)
2750:?   Linker Objects
2760:?     'colorTransform' ( uniform 3X3 matrix of float)
2770:?     'Color' ( smooth in 3-component vector of float)
2780:?     'm' ( uniform 4X4 matrix of float)
2790:?     'n' ( uniform 4X4 matrix of float)
2800:?     'um43' ( uniform 4X4 matrix of float)
2810:?     'un34' ( uniform 4X4 matrix of float)
2820:?     'v' ( smooth in 4-component vector of float)
2830:?     'u' ( smooth in 4-component vector of float)
284
285
286Linked fragment stage:
287
288
289Shader version: 130
2900:? Sequence
2910:25  Function Definition: main( ( global void)
2920:25    Function Parameters:
2930:27    Sequence
2940:27      move second child to first child ( temp 4-component vector of float)
2950:27        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
2960:27        Construct vec4 ( temp 4-component vector of float)
2970:27          direct index ( temp 4-component vector of float)
2980:27            'un34' ( uniform 4X4 matrix of float)
2990:27            Constant:
3000:27              1 (const int)
3010:28      add second child into first child ( temp 4-component vector of float)
3020:28        'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3030:28        Construct vec4 ( temp 4-component vector of float)
3040:28          vector-times-matrix ( temp 3-component vector of float)
3050:28            'Color' ( smooth in 3-component vector of float)
3060:28            'colorTransform' ( uniform 3X3 matrix of float)
3070:28          Constant:
3080:28            1.000000
3090:30      Test condition and select ( temp void)
3100:30        Condition
3110:30        Compare Not Equal ( temp bool)
3120:30          'm' ( uniform 4X4 matrix of float)
3130:30          'n' ( uniform 4X4 matrix of float)
3140:30        true case
3150:31        add second child into first child ( temp 4-component vector of float)
3160:31          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3170:31          'v' ( smooth in 4-component vector of float)
3180:30        false case
3190:33        Sequence
3200:33          add second child into first child ( temp 4-component vector of float)
3210:33            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3220:33            matrix-times-vector ( temp 4-component vector of float)
3230:33              'm' ( uniform 4X4 matrix of float)
3240:33              'v' ( smooth in 4-component vector of float)
3250:34          add second child into first child ( temp 4-component vector of float)
3260:34            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
3270:34            vector-times-matrix ( temp 4-component vector of float)
3280:34              'v' ( smooth in 4-component vector of float)
3290:34              subtract ( temp 4X4 matrix of float)
3300:34                'm' ( uniform 4X4 matrix of float)
3310:34                'n' ( uniform 4X4 matrix of float)
3320:42      Sequence
3330:42        move second child to first child ( temp 4X4 matrix of float)
3340:42          'm34' ( temp 4X4 matrix of float)
3350:45          Construct mat4 ( temp 4X4 matrix of float)
3360:42            component-wise multiply ( temp float)
3370:42              direct index ( temp float)
3380:42                'v' ( smooth in 4-component vector of float)
3390:42                Constant:
3400:42                  0 (const int)
3410:42              direct index ( temp float)
3420:42                'u' ( smooth in 4-component vector of float)
3430:42                Constant:
3440:42                  0 (const int)
3450:42            component-wise multiply ( temp float)
3460:42              direct index ( temp float)
3470:42                'v' ( smooth in 4-component vector of float)
3480:42                Constant:
3490:42                  0 (const int)
3500:42              direct index ( temp float)
3510:42                'u' ( smooth in 4-component vector of float)
3520:42                Constant:
3530:42                  1 (const int)
3540:42            component-wise multiply ( temp float)
3550:42              direct index ( temp float)
3560:42                'v' ( smooth in 4-component vector of float)
3570:42                Constant:
3580:42                  0 (const int)
3590:42              direct index ( temp float)
3600:42                'u' ( smooth in 4-component vector of float)
3610:42                Constant:
3620:42                  2 (const int)
3630:42            component-wise multiply ( temp float)
3640:42              direct index ( temp float)
3650:42                'v' ( smooth in 4-component vector of float)
3660:42                Constant:
3670:42                  0 (const int)
3680:42              direct index ( temp float)
3690:42                'u' ( smooth in 4-component vector of float)
3700:42                Constant:
3710:42                  3 (const int)
3720:43            component-wise multiply ( temp float)
3730:43              direct index ( temp float)
3740:43                'v' ( smooth in 4-component vector of float)
3750:43                Constant:
3760:43                  1 (const int)
3770:43              direct index ( temp float)
3780:43                'u' ( smooth in 4-component vector of float)
3790:43                Constant:
3800:43                  0 (const int)
3810:43            component-wise multiply ( temp float)
3820:43              direct index ( temp float)
3830:43                'v' ( smooth in 4-component vector of float)
3840:43                Constant:
3850:43                  1 (const int)
3860:43              direct index ( temp float)
3870:43                'u' ( smooth in 4-component vector of float)
3880:43                Constant:
3890:43                  1 (const int)
3900:43            component-wise multiply ( temp float)
3910:43              direct index ( temp float)
3920:43                'v' ( smooth in 4-component vector of float)
3930:43                Constant:
3940:43                  1 (const int)
3950:43              direct index ( temp float)
3960:43                'u' ( smooth in 4-component vector of float)
3970:43                Constant:
3980:43                  2 (const int)
3990:43            component-wise multiply ( temp float)
4000:43              direct index ( temp float)
4010:43                'v' ( smooth in 4-component vector of float)
4020:43                Constant:
4030:43                  1 (const int)
4040:43              direct index ( temp float)
4050:43                'u' ( smooth in 4-component vector of float)
4060:43                Constant:
4070:43                  3 (const int)
4080:44            component-wise multiply ( temp float)
4090:44              direct index ( temp float)
4100:44                'v' ( smooth in 4-component vector of float)
4110:44                Constant:
4120:44                  2 (const int)
4130:44              direct index ( temp float)
4140:44                'u' ( smooth in 4-component vector of float)
4150:44                Constant:
4160:44                  0 (const int)
4170:44            component-wise multiply ( temp float)
4180:44              direct index ( temp float)
4190:44                'v' ( smooth in 4-component vector of float)
4200:44                Constant:
4210:44                  2 (const int)
4220:44              direct index ( temp float)
4230:44                'u' ( smooth in 4-component vector of float)
4240:44                Constant:
4250:44                  1 (const int)
4260:44            component-wise multiply ( temp float)
4270:44              direct index ( temp float)
4280:44                'v' ( smooth in 4-component vector of float)
4290:44                Constant:
4300:44                  2 (const int)
4310:44              direct index ( temp float)
4320:44                'u' ( smooth in 4-component vector of float)
4330:44                Constant:
4340:44                  2 (const int)
4350:44            component-wise multiply ( temp float)
4360:44              direct index ( temp float)
4370:44                'v' ( smooth in 4-component vector of float)
4380:44                Constant:
4390:44                  2 (const int)
4400:44              direct index ( temp float)
4410:44                'u' ( smooth in 4-component vector of float)
4420:44                Constant:
4430:44                  3 (const int)
4440:45            component-wise multiply ( temp float)
4450:45              direct index ( temp float)
4460:45                'v' ( smooth in 4-component vector of float)
4470:45                Constant:
4480:45                  3 (const int)
4490:45              direct index ( temp float)
4500:45                'u' ( smooth in 4-component vector of float)
4510:45                Constant:
4520:45                  0 (const int)
4530:45            component-wise multiply ( temp float)
4540:45              direct index ( temp float)
4550:45                'v' ( smooth in 4-component vector of float)
4560:45                Constant:
4570:45                  3 (const int)
4580:45              direct index ( temp float)
4590:45                'u' ( smooth in 4-component vector of float)
4600:45                Constant:
4610:45                  1 (const int)
4620:45            component-wise multiply ( temp float)
4630:45              direct index ( temp float)
4640:45                'v' ( smooth in 4-component vector of float)
4650:45                Constant:
4660:45                  3 (const int)
4670:45              direct index ( temp float)
4680:45                'u' ( smooth in 4-component vector of float)
4690:45                Constant:
4700:45                  2 (const int)
4710:45            component-wise multiply ( temp float)
4720:45              direct index ( temp float)
4730:45                'v' ( smooth in 4-component vector of float)
4740:45                Constant:
4750:45                  3 (const int)
4760:45              direct index ( temp float)
4770:45                'u' ( smooth in 4-component vector of float)
4780:45                Constant:
4790:45                  3 (const int)
4800:46      add second child into first child ( temp 4X4 matrix of float)
4810:46        'm34' ( temp 4X4 matrix of float)
4820:46        Construct mat4 ( temp 4X4 matrix of float)
4830:46          direct index ( temp float)
4840:46            'v' ( smooth in 4-component vector of float)
4850:46            Constant:
4860:46              0 (const int)
4870:47      add second child into first child ( temp 4X4 matrix of float)
4880:47        'm34' ( temp 4X4 matrix of float)
4890:47        Construct mat4 ( temp 4X4 matrix of float)
4900:47          'u' ( smooth in 4-component vector of float)
4910:47          direct index ( temp float)
4920:47            'u' ( smooth in 4-component vector of float)
4930:47            Constant:
4940:47              0 (const int)
4950:47          'u' ( smooth in 4-component vector of float)
4960:47          direct index ( temp float)
4970:47            'u' ( smooth in 4-component vector of float)
4980:47            Constant:
4990:47              0 (const int)
5000:47          'u' ( smooth in 4-component vector of float)
5010:47          direct index ( temp float)
5020:47            'u' ( smooth in 4-component vector of float)
5030:47            Constant:
5040:47              0 (const int)
5050:47          direct index ( temp float)
5060:47            'u' ( smooth in 4-component vector of float)
5070:47            Constant:
5080:47              0 (const int)
5090:51      Test condition and select ( temp void)
5100:51        Condition
5110:51        Compare Equal ( temp bool)
5120:51          'm34' ( temp 4X4 matrix of float)
5130:51          'un34' ( uniform 4X4 matrix of float)
5140:51        true case
5150:52        add second child into first child ( temp 4-component vector of float)
5160:52          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
5170:52          matrix-times-vector ( temp 4-component vector of float)
5180:52            'm34' ( temp 4X4 matrix of float)
5190:52            'u' ( smooth in 4-component vector of float)
5200:51        false case
5210:54        add second child into first child ( temp 4-component vector of float)
5220:54          'gl_FragColor' ( fragColor 4-component vector of float FragColor)
5230:54          matrix-times-vector ( temp 4-component vector of float)
5240:54            matrix-multiply ( temp 4X4 matrix of float)
5250:54              'un34' ( uniform 4X4 matrix of float)
5260:54              'um43' ( uniform 4X4 matrix of float)
5270:54            'v' ( smooth in 4-component vector of float)
5280:56      Sequence
5290:56        move second child to first child ( temp 4X2 matrix of float)
5300:56          'm42' ( temp 4X2 matrix of float)
5310:56          Constant:
5320:56            42.000000
5330:56            0.000000
5340:56            0.000000
5350:56            42.000000
5360:56            0.000000
5370:56            0.000000
5380:56            0.000000
5390:56            0.000000
5400:57      Test condition and select ( temp void)
5410:57        Condition
5420:57        Compare Equal ( temp bool)
5430:57          'm42' ( temp 4X2 matrix of float)
5440:57          Constant:
5450:57            42.000000
5460:57            0.000000
5470:57            0.000000
5480:57            42.000000
5490:57            0.000000
5500:57            0.000000
5510:57            0.000000
5520:57            0.000000
5530:57        true case
5540:58        Sequence
5550:58          add second child into first child ( temp 4-component vector of float)
5560:58            'gl_FragColor' ( fragColor 4-component vector of float FragColor)
5570:58            'v' ( smooth in 4-component vector of float)
5580:?   Linker Objects
5590:?     'colorTransform' ( uniform 3X3 matrix of float)
5600:?     'Color' ( smooth in 3-component vector of float)
5610:?     'm' ( uniform 4X4 matrix of float)
5620:?     'n' ( uniform 4X4 matrix of float)
5630:?     'um43' ( uniform 4X4 matrix of float)
5640:?     'un34' ( uniform 4X4 matrix of float)
5650:?     'v' ( smooth in 4-component vector of float)
5660:?     'u' ( smooth in 4-component vector of float)
567
568