1precision.frag
2ERROR: 0:3: 'float' : type requires declaration of default precision qualifier
3ERROR: 0:18: 'int' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
4ERROR: 0:19: 'int' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
5ERROR: 0:21: 'float' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
6ERROR: 0:72: 'bool' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
7ERROR: 0:75: 'structure' : cannot apply precision statement to this type; use 'float', 'int' or a sampler type
8ERROR: 0:76: 'bool' : type cannot have precision qualifier
9ERROR: 7 compilation errors.  No code generated.
10
11
12Shader version: 100
13ERROR: node is still EOpNull!
140:5  Function Definition: foo(vf3; ( global lowp 2-component vector of float)
150:5    Function Parameters:
160:5      'mv3' ( in mediump 3-component vector of float)
170:?     Sequence
180:8      Branch: Return with expression
190:8        vector swizzle ( temp highp 2-component vector of float)
200:8          'hv4' ( temp highp 4-component vector of float)
210:8          Sequence
220:8            Constant:
230:8              0 (const int)
240:8            Constant:
250:8              1 (const int)
260:25  Function Definition: main( ( global void)
270:25    Function Parameters:
280:27    Sequence
290:27      Sequence
300:27        move second child to first child ( temp highp int)
310:27          'sum' ( temp lowp int)
320:27          add ( temp highp int)
330:27            'global_medium' ( global mediump int)
340:27            'global_high' ( global highp int)
350:29      move second child to first child ( temp mediump 4-component vector of float)
360:29        'gl_FragColor' ( fragColor mediump 4-component vector of float FragColor)
370:29        Construct vec4 ( temp mediump 4-component vector of float)
380:29          'color' ( smooth in mediump 3-component vector of float)
390:29          Constant:
400:29            1.000000
410:32      add second child into first child ( temp highp int)
420:32        'sum' ( temp lowp int)
430:32        'level1_high' ( temp highp int)
440:36      add second child into first child ( temp lowp int)
450:36        'sum' ( temp lowp int)
460:36        'level1_low' ( temp lowp int)
470:41      Sequence
480:41        move second child to first child ( temp mediump float)
490:41          'd' ( temp lowp float)
500:41          distance ( global mediump float)
510:41            'arg1' ( temp lowp float)
520:41            'arg2' ( temp mediump float)
530:?       Sequence
540:45        add second child into first child ( temp lowp int)
550:45          'sum' ( temp lowp int)
560:45          'level2_low' ( temp lowp int)
570:49        add second child into first child ( temp highp int)
580:49          'sum' ( temp lowp int)
590:49          'level2_high' ( temp highp int)
600:58        Loop with condition not tested first
610:58          Loop Condition
620:58          Constant:
630:58            true (const bool)
640:58          Loop Body
650:51          Sequence
660:51            Test condition and select ( temp void)
670:51              Condition
680:51              Constant:
690:51                true (const bool)
700:51              true case
710:?               Sequence
720:54                add second child into first child ( temp mediump int)
730:54                  'sum' ( temp lowp int)
740:54                  'level4_medium' ( temp mediump int)
750:57            add second child into first child ( temp highp int)
760:57              'sum' ( temp lowp int)
770:57              'level3_high' ( temp highp int)
780:60        add second child into first child ( temp highp int)
790:60          'sum' ( temp lowp int)
800:60          'level2_high2' ( temp highp int)
810:63      add second child into first child ( temp lowp int)
820:63        'sum' ( temp lowp int)
830:63        'level1_low3' ( temp lowp int)
840:65      add second child into first child ( temp lowp int)
850:65        'sum' ( temp lowp int)
860:65        add ( temp lowp int)
870:65          Constant:
880:65            4 (const int)
890:65          direct index ( temp lowp int)
900:65            add ( temp lowp 2-component vector of int)
910:65              component-wise multiply ( temp lowp 2-component vector of int)
920:65                Construct ivec2 ( temp lowp 2-component vector of int)
930:65                  'level1_low3' ( temp lowp int)
940:65                Construct ivec2 ( temp lowp 2-component vector of int)
950:65                  'level1_high' ( temp highp int)
960:65              Construct ivec2 ( temp lowp 2-component vector of int)
970:65                Comma ( temp highp int)
980:65                  'level1_low3' ( temp lowp int)
990:65                  'level1_high' ( temp highp int)
1000:65            Constant:
1010:65              0 (const int)
1020:67      texture ( global lowp 4-component vector of float)
1030:67        'samplerLow' ( uniform lowp sampler2D)
1040:67        Constant:
1050:67          0.100000
1060:67          0.200000
1070:68      texture ( global mediump 4-component vector of float)
1080:68        'samplerMed' ( uniform mediump sampler2D)
1090:68        Constant:
1100:68          0.100000
1110:68          0.200000
1120:69      texture ( global highp 4-component vector of float)
1130:69        'samplerHigh' ( uniform highp sampler2D)
1140:69        Constant:
1150:69          0.100000
1160:69          0.200000
1170:?   Linker Objects
1180:?     'color' ( smooth in mediump 3-component vector of float)
1190:?     'global_medium' ( global mediump int)
1200:?     'samplerLow' ( uniform lowp sampler2D)
1210:?     'samplerMed' ( uniform mediump sampler2D)
1220:?     'samplerHigh' ( uniform highp sampler2D)
1230:?     'uint' ( global mediump 4-component vector of float)
1240:?     'global_high' ( global highp int)
1250:?     'b2' ( global mediump 2-component vector of bool)
126
127
128Linked fragment stage:
129
130
131Shader version: 100
132ERROR: node is still EOpNull!
1330:25  Function Definition: main( ( global void)
1340:25    Function Parameters:
1350:27    Sequence
1360:27      Sequence
1370:27        move second child to first child ( temp highp int)
1380:27          'sum' ( temp lowp int)
1390:27          add ( temp highp int)
1400:27            'global_medium' ( global mediump int)
1410:27            'global_high' ( global highp int)
1420:29      move second child to first child ( temp mediump 4-component vector of float)
1430:29        'gl_FragColor' ( fragColor mediump 4-component vector of float FragColor)
1440:29        Construct vec4 ( temp mediump 4-component vector of float)
1450:29          'color' ( smooth in mediump 3-component vector of float)
1460:29          Constant:
1470:29            1.000000
1480:32      add second child into first child ( temp highp int)
1490:32        'sum' ( temp lowp int)
1500:32        'level1_high' ( temp highp int)
1510:36      add second child into first child ( temp lowp int)
1520:36        'sum' ( temp lowp int)
1530:36        'level1_low' ( temp lowp int)
1540:41      Sequence
1550:41        move second child to first child ( temp mediump float)
1560:41          'd' ( temp lowp float)
1570:41          distance ( global mediump float)
1580:41            'arg1' ( temp lowp float)
1590:41            'arg2' ( temp mediump float)
1600:?       Sequence
1610:45        add second child into first child ( temp lowp int)
1620:45          'sum' ( temp lowp int)
1630:45          'level2_low' ( temp lowp int)
1640:49        add second child into first child ( temp highp int)
1650:49          'sum' ( temp lowp int)
1660:49          'level2_high' ( temp highp int)
1670:58        Loop with condition not tested first
1680:58          Loop Condition
1690:58          Constant:
1700:58            true (const bool)
1710:58          Loop Body
1720:51          Sequence
1730:51            Test condition and select ( temp void)
1740:51              Condition
1750:51              Constant:
1760:51                true (const bool)
1770:51              true case
1780:?               Sequence
1790:54                add second child into first child ( temp mediump int)
1800:54                  'sum' ( temp lowp int)
1810:54                  'level4_medium' ( temp mediump int)
1820:57            add second child into first child ( temp highp int)
1830:57              'sum' ( temp lowp int)
1840:57              'level3_high' ( temp highp int)
1850:60        add second child into first child ( temp highp int)
1860:60          'sum' ( temp lowp int)
1870:60          'level2_high2' ( temp highp int)
1880:63      add second child into first child ( temp lowp int)
1890:63        'sum' ( temp lowp int)
1900:63        'level1_low3' ( temp lowp int)
1910:65      add second child into first child ( temp lowp int)
1920:65        'sum' ( temp lowp int)
1930:65        add ( temp lowp int)
1940:65          Constant:
1950:65            4 (const int)
1960:65          direct index ( temp lowp int)
1970:65            add ( temp lowp 2-component vector of int)
1980:65              component-wise multiply ( temp lowp 2-component vector of int)
1990:65                Construct ivec2 ( temp lowp 2-component vector of int)
2000:65                  'level1_low3' ( temp lowp int)
2010:65                Construct ivec2 ( temp lowp 2-component vector of int)
2020:65                  'level1_high' ( temp highp int)
2030:65              Construct ivec2 ( temp lowp 2-component vector of int)
2040:65                Comma ( temp highp int)
2050:65                  'level1_low3' ( temp lowp int)
2060:65                  'level1_high' ( temp highp int)
2070:65            Constant:
2080:65              0 (const int)
2090:67      texture ( global lowp 4-component vector of float)
2100:67        'samplerLow' ( uniform lowp sampler2D)
2110:67        Constant:
2120:67          0.100000
2130:67          0.200000
2140:68      texture ( global mediump 4-component vector of float)
2150:68        'samplerMed' ( uniform mediump sampler2D)
2160:68        Constant:
2170:68          0.100000
2180:68          0.200000
2190:69      texture ( global highp 4-component vector of float)
2200:69        'samplerHigh' ( uniform highp sampler2D)
2210:69        Constant:
2220:69          0.100000
2230:69          0.200000
2240:?   Linker Objects
2250:?     'color' ( smooth in mediump 3-component vector of float)
2260:?     'global_medium' ( global mediump int)
2270:?     'samplerLow' ( uniform lowp sampler2D)
2280:?     'samplerMed' ( uniform mediump sampler2D)
2290:?     'samplerHigh' ( uniform highp sampler2D)
2300:?     'uint' ( global mediump 4-component vector of float)
2310:?     'global_high' ( global highp int)
2320:?     'b2' ( global mediump 2-component vector of bool)
233
234