1uint.frag
2ERROR: 0:2: 'uint' : must be qualified as flat in
3ERROR: 0:6: 'in' : cannot be bool
4ERROR: 0:20: 'const' : non-matching or non-convertible constant type for const initializer
5ERROR: 0:24: 'const' : non-matching or non-convertible constant type for const initializer
6ERROR: 0:34: 'const' : non-matching or non-convertible constant type for const initializer
7ERROR: 0:37: 'const' : non-matching or non-convertible constant type for const initializer
8ERROR: 0:48: '=' :  cannot convert from ' const int' to ' temp mediump uint'
9ERROR: 0:51: '=' :  cannot convert from ' const int' to ' temp mediump uint'
10ERROR: 0:63: 'float' : type requires declaration of default precision qualifier
11ERROR: 9 compilation errors.  No code generated.
12
13
14Shader version: 300
15ERROR: node is still EOpNull!
160:15  Function Definition: main( ( global void)
170:15    Function Parameters:
180:17    Sequence
190:17      Sequence
200:17        move second child to first child ( temp mediump int)
210:17          'count' ( temp mediump int)
220:17          Constant:
230:17            1 (const int)
240:19      Sequence
250:19        move second child to first child ( temp mediump uint)
260:19          'u' ( temp mediump uint)
270:19          add ( temp mediump uint)
280:19            direct index ( temp mediump uint)
290:19              't' ( flat in mediump 2-component vector of uint)
300:19              Constant:
310:19                1 (const int)
320:19            Constant:
330:19              3 (const uint)
340:27      Test condition and select ( temp void)
350:27        Condition
360:27        Constant:
370:27          true (const bool)
380:27        true case
390:28        multiply second child into first child ( temp mediump int)
400:28          'count' ( temp mediump int)
410:28          Constant:
420:28            2 (const int)
430:29      Test condition and select ( temp void)
440:29        Condition
450:29        Constant:
460:29          true (const bool)
470:29        true case
480:30        multiply second child into first child ( temp mediump int)
490:30          'count' ( temp mediump int)
500:30          Constant:
510:30            3 (const int)
520:31      Test condition and select ( temp void)
530:31        Condition
540:31        Constant:
550:31          false (const bool)
560:31        true case
570:32        multiply second child into first child ( temp mediump int)
580:32          'count' ( temp mediump int)
590:32          Constant:
600:32            5 (const int)
610:41      Test condition and select ( temp void)
620:41        Condition
630:41        Constant:
640:41          true (const bool)
650:41        true case
660:42        multiply second child into first child ( temp mediump int)
670:42          'count' ( temp mediump int)
680:42          Constant:
690:42            7 (const int)
700:43      Test condition and select ( temp void)
710:43        Condition
720:43        Constant:
730:43          true (const bool)
740:43        true case
750:44        multiply second child into first child ( temp mediump int)
760:44          'count' ( temp mediump int)
770:44          Constant:
780:44            11 (const int)
790:45      Test condition and select ( temp void)
800:45        Condition
810:45        Constant:
820:45          false (const bool)
830:45        true case
840:46        multiply second child into first child ( temp mediump int)
850:46          'count' ( temp mediump int)
860:46          Constant:
870:46            13 (const int)
880:49      Sequence
890:49        move second child to first child ( temp mediump int)
900:49          'shiftedii' ( temp mediump int)
910:49          Constant:
920:49            -1 (const int)
930:50      Sequence
940:50        move second child to first child ( temp mediump uint)
950:50          'shiftedui' ( temp mediump uint)
960:50          Constant:
970:50            4194303 (const uint)
980:52      Sequence
990:52        move second child to first child ( temp mediump int)
1000:52          'shiftediu' ( temp mediump int)
1010:52          Constant:
1020:52            -1 (const int)
1030:53      Sequence
1040:53        move second child to first child ( temp mediump uint)
1050:53          'shifteduu' ( temp mediump uint)
1060:53          Constant:
1070:53            4194303 (const uint)
1080:55      Test condition and select ( temp void)
1090:55        Condition
1100:55        Compare Equal ( temp bool)
1110:55          'shiftedii' ( temp mediump int)
1120:55          'shiftediu' ( temp mediump int)
1130:55        true case
1140:56        move second child to first child ( temp mediump 4-component vector of uint)
1150:56          'c' ( out mediump 4-component vector of uint)
1160:56          texture ( global lowp 4-component vector of uint, operation at highp)
1170:56            'usampler' ( uniform lowp usampler2D)
1180:56            'tc' ( smooth in highp 2-component vector of float)
1190:57      Test condition and select ( temp void)
1200:57        Condition
1210:57        Compare Equal ( temp bool)
1220:57          'shiftedui' ( temp mediump uint)
1230:57          'shifteduu' ( temp mediump uint)
1240:57        true case
1250:58        move second child to first child ( temp mediump 4-component vector of uint)
1260:58          'c' ( out mediump 4-component vector of uint)
1270:58          texture ( global lowp 4-component vector of uint, operation at highp)
1280:58            'usampler' ( uniform lowp usampler2D)
1290:58            add ( temp highp 2-component vector of float)
1300:58              'tc' ( smooth in highp 2-component vector of float)
1310:58              Constant:
1320:58                1.000000
1330:59      Test condition and select ( temp void)
1340:59        Condition
1350:59        Compare Equal ( temp bool)
1360:59          'shiftedii' ( temp mediump int)
1370:59          Convert uint to int ( temp int)
1380:59            'shiftedui' ( temp mediump uint)
1390:59        true case
1400:60        move second child to first child ( temp mediump 4-component vector of uint)
1410:60          'c' ( out mediump 4-component vector of uint)
1420:60          texture ( global lowp 4-component vector of uint, operation at highp)
1430:60            'usampler' ( uniform lowp usampler2D)
1440:60            subtract ( temp highp 2-component vector of float)
1450:60              'tc' ( smooth in highp 2-component vector of float)
1460:60              Constant:
1470:60                2.000000
1480:60                2.000000
1490:62      Test condition and select ( temp void)
1500:62        Condition
1510:62        Compare Greater Than ( temp bool)
1520:62          direct index ( temp mediump uint)
1530:62            't' ( flat in mediump 2-component vector of uint)
1540:62            Constant:
1550:62              0 (const int)
1560:62          Constant:
1570:62            4 (const uint)
1580:62        true case
1590:63        Sequence
1600:63          Sequence
1610:63            move second child to first child ( temp mediump float)
1620:63              'af' ( temp mediump float)
1630:63              Convert uint to float ( temp mediump float)
1640:63                'u' ( temp mediump uint)
1650:64          Sequence
1660:64            move second child to first child ( temp bool)
1670:64              'ab' ( temp bool)
1680:64              Convert uint to bool ( temp bool)
1690:64                'u' ( temp mediump uint)
1700:65          Sequence
1710:65            move second child to first child ( temp mediump int)
1720:65              'ai' ( temp mediump int)
1730:65              Convert uint to int ( temp mediump int)
1740:65                'u' ( temp mediump uint)
1750:67          add second child into first child ( temp mediump 4-component vector of uint)
1760:67            'c' ( out mediump 4-component vector of uint)
1770:67            Construct uvec4 ( temp mediump 4-component vector of uint)
1780:67              Convert float to uint ( temp mediump uint)
1790:67                'af' ( temp mediump float)
1800:67              Convert bool to uint ( temp mediump uint)
1810:67                'ab' ( temp bool)
1820:67              Convert int to uint ( temp mediump uint)
1830:67                'ai' ( temp mediump int)
1840:67              Convert int to uint ( temp mediump uint)
1850:67                'count' ( temp mediump int)
1860:75      Test condition and select ( temp void)
1870:75        Condition
1880:75        Constant:
1890:75          true (const bool)
1900:75        true case
1910:76        multiply second child into first child ( temp mediump int)
1920:76          'count' ( temp mediump int)
1930:76          Constant:
1940:76            17 (const int)
1950:78      Test condition and select ( temp void)
1960:78        Condition
1970:78        Constant:
1980:78          false (const bool)
1990:78        true case
2000:79        multiply second child into first child ( temp mediump int)
2010:79          'count' ( temp mediump int)
2020:79          Constant:
2030:79            19 (const int)
2040:81      Test condition and select ( temp void)
2050:81        Condition
2060:81        Constant:
2070:81          true (const bool)
2080:81        true case
2090:82        multiply second child into first child ( temp mediump int)
2100:82          'count' ( temp mediump int)
2110:82          Constant:
2120:82            23 (const int)
2130:84      Test condition and select ( temp void)
2140:84        Condition
2150:84        Constant:
2160:84          true (const bool)
2170:84        true case
2180:85        multiply second child into first child ( temp mediump int)
2190:85          'count' ( temp mediump int)
2200:85          Constant:
2210:85            27 (const int)
2220:87      Sequence
2230:87        move second child to first child ( temp mediump uint)
2240:87          'mask1' ( temp mediump uint)
2250:87          Constant:
2260:87            161 (const uint)
2270:88      Sequence
2280:88        move second child to first child ( temp mediump uint)
2290:88          'mask2' ( temp mediump uint)
2300:88          Constant:
2310:88            2576 (const uint)
2320:89      Sequence
2330:89        move second child to first child ( temp mediump uint)
2340:89          'mask3' ( temp mediump uint)
2350:89          left-shift ( temp mediump uint)
2360:89            'mask1' ( temp mediump uint)
2370:89            Constant:
2380:89              4 (const int)
2390:90      Sequence
2400:90        move second child to first child ( temp mediump uint)
2410:90          'mask4' ( temp mediump uint)
2420:90          Constant:
2430:90            2737 (const uint)
2440:92      Test condition and select ( temp void)
2450:92        Condition
2460:92        Compare Equal ( temp bool)
2470:92          'mask3' ( temp mediump uint)
2480:92          'mask2' ( temp mediump uint)
2490:92        true case
2500:93        multiply second child into first child ( temp mediump int)
2510:93          'count' ( temp mediump int)
2520:93          Constant:
2530:93            100 (const int)
2540:95      Test condition and select ( temp void)
2550:95        Condition
2560:95        Compare Not Equal ( temp bool)
2570:95          bitwise and ( temp mediump uint)
2580:95            'mask3' ( temp mediump uint)
2590:95            'mask1' ( temp mediump uint)
2600:95          Constant:
2610:95            0 (const uint)
2620:95        true case
2630:96        multiply second child into first child ( temp mediump int)
2640:96          'count' ( temp mediump int)
2650:96          Constant:
2660:96            101 (const int)
2670:98      Test condition and select ( temp void)
2680:98        Condition
2690:98        Compare Equal ( temp bool)
2700:98          inclusive-or ( temp mediump uint)
2710:98            'mask1' ( temp mediump uint)
2720:98            'mask3' ( temp mediump uint)
2730:98          'mask4' ( temp mediump uint)
2740:98        true case
2750:99        multiply second child into first child ( temp mediump int)
2760:99          'count' ( temp mediump int)
2770:99          Constant:
2780:99            102 (const int)
2790:101      Test condition and select ( temp void)
2800:101        Condition
2810:101        Compare Equal ( temp bool)
2820:101          exclusive-or ( temp mediump uint)
2830:101            'mask1' ( temp mediump uint)
2840:101            'mask4' ( temp mediump uint)
2850:101          Constant:
2860:101            2576 (const uint)
2870:101        true case
2880:102        multiply second child into first child ( temp mediump int)
2890:102          'count' ( temp mediump int)
2900:102          Constant:
2910:102            103 (const int)
2920:104      add second child into first child ( temp mediump 4-component vector of uint)
2930:104        'c' ( out mediump 4-component vector of uint)
2940:104        Construct uvec4 ( temp mediump 4-component vector of uint)
2950:104          Convert int to uint ( temp mediump uint)
2960:104            'count' ( temp mediump int)
2970:?   Linker Objects
2980:?     'badu' ( smooth in mediump 2-component vector of uint)
2990:?     't' ( flat in mediump 2-component vector of uint)
3000:?     'f' ( smooth in highp float)
3010:?     'tc' ( smooth in highp 2-component vector of float)
3020:?     'bad' ( smooth in bool)
3030:?     'v' ( uniform mediump 4-component vector of uint)
3040:?     'i' ( uniform mediump int)
3050:?     'b' ( uniform bool)
3060:?     'c' ( out mediump 4-component vector of uint)
3070:?     'usampler' ( uniform lowp usampler2D)
308
309
310Linked fragment stage:
311
312
313Shader version: 300
314ERROR: node is still EOpNull!
3150:15  Function Definition: main( ( global void)
3160:15    Function Parameters:
3170:17    Sequence
3180:17      Sequence
3190:17        move second child to first child ( temp mediump int)
3200:17          'count' ( temp mediump int)
3210:17          Constant:
3220:17            1 (const int)
3230:19      Sequence
3240:19        move second child to first child ( temp mediump uint)
3250:19          'u' ( temp mediump uint)
3260:19          add ( temp mediump uint)
3270:19            direct index ( temp mediump uint)
3280:19              't' ( flat in mediump 2-component vector of uint)
3290:19              Constant:
3300:19                1 (const int)
3310:19            Constant:
3320:19              3 (const uint)
3330:27      Test condition and select ( temp void)
3340:27        Condition
3350:27        Constant:
3360:27          true (const bool)
3370:27        true case
3380:28        multiply second child into first child ( temp mediump int)
3390:28          'count' ( temp mediump int)
3400:28          Constant:
3410:28            2 (const int)
3420:29      Test condition and select ( temp void)
3430:29        Condition
3440:29        Constant:
3450:29          true (const bool)
3460:29        true case
3470:30        multiply second child into first child ( temp mediump int)
3480:30          'count' ( temp mediump int)
3490:30          Constant:
3500:30            3 (const int)
3510:31      Test condition and select ( temp void)
3520:31        Condition
3530:31        Constant:
3540:31          false (const bool)
3550:31        true case
3560:32        multiply second child into first child ( temp mediump int)
3570:32          'count' ( temp mediump int)
3580:32          Constant:
3590:32            5 (const int)
3600:41      Test condition and select ( temp void)
3610:41        Condition
3620:41        Constant:
3630:41          true (const bool)
3640:41        true case
3650:42        multiply second child into first child ( temp mediump int)
3660:42          'count' ( temp mediump int)
3670:42          Constant:
3680:42            7 (const int)
3690:43      Test condition and select ( temp void)
3700:43        Condition
3710:43        Constant:
3720:43          true (const bool)
3730:43        true case
3740:44        multiply second child into first child ( temp mediump int)
3750:44          'count' ( temp mediump int)
3760:44          Constant:
3770:44            11 (const int)
3780:45      Test condition and select ( temp void)
3790:45        Condition
3800:45        Constant:
3810:45          false (const bool)
3820:45        true case
3830:46        multiply second child into first child ( temp mediump int)
3840:46          'count' ( temp mediump int)
3850:46          Constant:
3860:46            13 (const int)
3870:49      Sequence
3880:49        move second child to first child ( temp mediump int)
3890:49          'shiftedii' ( temp mediump int)
3900:49          Constant:
3910:49            -1 (const int)
3920:50      Sequence
3930:50        move second child to first child ( temp mediump uint)
3940:50          'shiftedui' ( temp mediump uint)
3950:50          Constant:
3960:50            4194303 (const uint)
3970:52      Sequence
3980:52        move second child to first child ( temp mediump int)
3990:52          'shiftediu' ( temp mediump int)
4000:52          Constant:
4010:52            -1 (const int)
4020:53      Sequence
4030:53        move second child to first child ( temp mediump uint)
4040:53          'shifteduu' ( temp mediump uint)
4050:53          Constant:
4060:53            4194303 (const uint)
4070:55      Test condition and select ( temp void)
4080:55        Condition
4090:55        Compare Equal ( temp bool)
4100:55          'shiftedii' ( temp mediump int)
4110:55          'shiftediu' ( temp mediump int)
4120:55        true case
4130:56        move second child to first child ( temp mediump 4-component vector of uint)
4140:56          'c' ( out mediump 4-component vector of uint)
4150:56          texture ( global lowp 4-component vector of uint, operation at highp)
4160:56            'usampler' ( uniform lowp usampler2D)
4170:56            'tc' ( smooth in highp 2-component vector of float)
4180:57      Test condition and select ( temp void)
4190:57        Condition
4200:57        Compare Equal ( temp bool)
4210:57          'shiftedui' ( temp mediump uint)
4220:57          'shifteduu' ( temp mediump uint)
4230:57        true case
4240:58        move second child to first child ( temp mediump 4-component vector of uint)
4250:58          'c' ( out mediump 4-component vector of uint)
4260:58          texture ( global lowp 4-component vector of uint, operation at highp)
4270:58            'usampler' ( uniform lowp usampler2D)
4280:58            add ( temp highp 2-component vector of float)
4290:58              'tc' ( smooth in highp 2-component vector of float)
4300:58              Constant:
4310:58                1.000000
4320:59      Test condition and select ( temp void)
4330:59        Condition
4340:59        Compare Equal ( temp bool)
4350:59          'shiftedii' ( temp mediump int)
4360:59          Convert uint to int ( temp int)
4370:59            'shiftedui' ( temp mediump uint)
4380:59        true case
4390:60        move second child to first child ( temp mediump 4-component vector of uint)
4400:60          'c' ( out mediump 4-component vector of uint)
4410:60          texture ( global lowp 4-component vector of uint, operation at highp)
4420:60            'usampler' ( uniform lowp usampler2D)
4430:60            subtract ( temp highp 2-component vector of float)
4440:60              'tc' ( smooth in highp 2-component vector of float)
4450:60              Constant:
4460:60                2.000000
4470:60                2.000000
4480:62      Test condition and select ( temp void)
4490:62        Condition
4500:62        Compare Greater Than ( temp bool)
4510:62          direct index ( temp mediump uint)
4520:62            't' ( flat in mediump 2-component vector of uint)
4530:62            Constant:
4540:62              0 (const int)
4550:62          Constant:
4560:62            4 (const uint)
4570:62        true case
4580:63        Sequence
4590:63          Sequence
4600:63            move second child to first child ( temp mediump float)
4610:63              'af' ( temp mediump float)
4620:63              Convert uint to float ( temp mediump float)
4630:63                'u' ( temp mediump uint)
4640:64          Sequence
4650:64            move second child to first child ( temp bool)
4660:64              'ab' ( temp bool)
4670:64              Convert uint to bool ( temp bool)
4680:64                'u' ( temp mediump uint)
4690:65          Sequence
4700:65            move second child to first child ( temp mediump int)
4710:65              'ai' ( temp mediump int)
4720:65              Convert uint to int ( temp mediump int)
4730:65                'u' ( temp mediump uint)
4740:67          add second child into first child ( temp mediump 4-component vector of uint)
4750:67            'c' ( out mediump 4-component vector of uint)
4760:67            Construct uvec4 ( temp mediump 4-component vector of uint)
4770:67              Convert float to uint ( temp mediump uint)
4780:67                'af' ( temp mediump float)
4790:67              Convert bool to uint ( temp mediump uint)
4800:67                'ab' ( temp bool)
4810:67              Convert int to uint ( temp mediump uint)
4820:67                'ai' ( temp mediump int)
4830:67              Convert int to uint ( temp mediump uint)
4840:67                'count' ( temp mediump int)
4850:75      Test condition and select ( temp void)
4860:75        Condition
4870:75        Constant:
4880:75          true (const bool)
4890:75        true case
4900:76        multiply second child into first child ( temp mediump int)
4910:76          'count' ( temp mediump int)
4920:76          Constant:
4930:76            17 (const int)
4940:78      Test condition and select ( temp void)
4950:78        Condition
4960:78        Constant:
4970:78          false (const bool)
4980:78        true case
4990:79        multiply second child into first child ( temp mediump int)
5000:79          'count' ( temp mediump int)
5010:79          Constant:
5020:79            19 (const int)
5030:81      Test condition and select ( temp void)
5040:81        Condition
5050:81        Constant:
5060:81          true (const bool)
5070:81        true case
5080:82        multiply second child into first child ( temp mediump int)
5090:82          'count' ( temp mediump int)
5100:82          Constant:
5110:82            23 (const int)
5120:84      Test condition and select ( temp void)
5130:84        Condition
5140:84        Constant:
5150:84          true (const bool)
5160:84        true case
5170:85        multiply second child into first child ( temp mediump int)
5180:85          'count' ( temp mediump int)
5190:85          Constant:
5200:85            27 (const int)
5210:87      Sequence
5220:87        move second child to first child ( temp mediump uint)
5230:87          'mask1' ( temp mediump uint)
5240:87          Constant:
5250:87            161 (const uint)
5260:88      Sequence
5270:88        move second child to first child ( temp mediump uint)
5280:88          'mask2' ( temp mediump uint)
5290:88          Constant:
5300:88            2576 (const uint)
5310:89      Sequence
5320:89        move second child to first child ( temp mediump uint)
5330:89          'mask3' ( temp mediump uint)
5340:89          left-shift ( temp mediump uint)
5350:89            'mask1' ( temp mediump uint)
5360:89            Constant:
5370:89              4 (const int)
5380:90      Sequence
5390:90        move second child to first child ( temp mediump uint)
5400:90          'mask4' ( temp mediump uint)
5410:90          Constant:
5420:90            2737 (const uint)
5430:92      Test condition and select ( temp void)
5440:92        Condition
5450:92        Compare Equal ( temp bool)
5460:92          'mask3' ( temp mediump uint)
5470:92          'mask2' ( temp mediump uint)
5480:92        true case
5490:93        multiply second child into first child ( temp mediump int)
5500:93          'count' ( temp mediump int)
5510:93          Constant:
5520:93            100 (const int)
5530:95      Test condition and select ( temp void)
5540:95        Condition
5550:95        Compare Not Equal ( temp bool)
5560:95          bitwise and ( temp mediump uint)
5570:95            'mask3' ( temp mediump uint)
5580:95            'mask1' ( temp mediump uint)
5590:95          Constant:
5600:95            0 (const uint)
5610:95        true case
5620:96        multiply second child into first child ( temp mediump int)
5630:96          'count' ( temp mediump int)
5640:96          Constant:
5650:96            101 (const int)
5660:98      Test condition and select ( temp void)
5670:98        Condition
5680:98        Compare Equal ( temp bool)
5690:98          inclusive-or ( temp mediump uint)
5700:98            'mask1' ( temp mediump uint)
5710:98            'mask3' ( temp mediump uint)
5720:98          'mask4' ( temp mediump uint)
5730:98        true case
5740:99        multiply second child into first child ( temp mediump int)
5750:99          'count' ( temp mediump int)
5760:99          Constant:
5770:99            102 (const int)
5780:101      Test condition and select ( temp void)
5790:101        Condition
5800:101        Compare Equal ( temp bool)
5810:101          exclusive-or ( temp mediump uint)
5820:101            'mask1' ( temp mediump uint)
5830:101            'mask4' ( temp mediump uint)
5840:101          Constant:
5850:101            2576 (const uint)
5860:101        true case
5870:102        multiply second child into first child ( temp mediump int)
5880:102          'count' ( temp mediump int)
5890:102          Constant:
5900:102            103 (const int)
5910:104      add second child into first child ( temp mediump 4-component vector of uint)
5920:104        'c' ( out mediump 4-component vector of uint)
5930:104        Construct uvec4 ( temp mediump 4-component vector of uint)
5940:104          Convert int to uint ( temp mediump uint)
5950:104            'count' ( temp mediump int)
5960:?   Linker Objects
5970:?     'badu' ( smooth in mediump 2-component vector of uint)
5980:?     't' ( flat in mediump 2-component vector of uint)
5990:?     'f' ( smooth in highp float)
6000:?     'tc' ( smooth in highp 2-component vector of float)
6010:?     'bad' ( smooth in bool)
6020:?     'v' ( uniform mediump 4-component vector of uint)
6030:?     'i' ( uniform mediump int)
6040:?     'b' ( uniform bool)
6050:?     'c' ( out mediump 4-component vector of uint)
6060:?     'usampler' ( uniform lowp usampler2D)
607
608