blob: 79485b48c6ebea6a9e0a2cf321d86077b2ea7314 [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001precision.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:5 Function Definition: foo(vf3; (global lowp 2-component vector of float)
1340:5 Function Parameters:
1350:5 'mv3' (in mediump 3-component vector of float)
1360:? Sequence
1370:8 Branch: Return with expression
1380:8 vector swizzle (temp highp 2-component vector of float)
1390:8 'hv4' (temp highp 4-component vector of float)
1400:8 Sequence
1410:8 Constant:
1420:8 0 (const int)
1430:8 Constant:
1440:8 1 (const int)
1450:25 Function Definition: main( (global void)
1460:25 Function Parameters:
1470:27 Sequence
1480:27 Sequence
1490:27 move second child to first child (temp highp int)
1500:27 'sum' (temp lowp int)
1510:27 add (temp highp int)
1520:27 'global_medium' (global mediump int)
1530:27 'global_high' (global highp int)
1540:29 move second child to first child (temp mediump 4-component vector of float)
1550:29 'gl_FragColor' (fragColor mediump 4-component vector of float FragColor)
1560:29 Construct vec4 (temp mediump 4-component vector of float)
1570:29 'color' (smooth in mediump 3-component vector of float)
1580:29 Constant:
1590:29 1.000000
1600:32 add second child into first child (temp highp int)
1610:32 'sum' (temp lowp int)
1620:32 'level1_high' (temp highp int)
1630:36 add second child into first child (temp lowp int)
1640:36 'sum' (temp lowp int)
1650:36 'level1_low' (temp lowp int)
1660:41 Sequence
1670:41 move second child to first child (temp mediump float)
1680:41 'd' (temp lowp float)
1690:41 distance (global mediump float)
1700:41 'arg1' (temp lowp float)
1710:41 'arg2' (temp mediump float)
1720:? Sequence
1730:45 add second child into first child (temp lowp int)
1740:45 'sum' (temp lowp int)
1750:45 'level2_low' (temp lowp int)
1760:49 add second child into first child (temp highp int)
1770:49 'sum' (temp lowp int)
1780:49 'level2_high' (temp highp int)
1790:58 Loop with condition not tested first
1800:58 Loop Condition
1810:58 Constant:
1820:58 true (const bool)
1830:58 Loop Body
1840:51 Sequence
1850:51 Test condition and select (temp void)
1860:51 Condition
1870:51 Constant:
1880:51 true (const bool)
1890:51 true case
1900:? Sequence
1910:54 add second child into first child (temp mediump int)
1920:54 'sum' (temp lowp int)
1930:54 'level4_medium' (temp mediump int)
1940:57 add second child into first child (temp highp int)
1950:57 'sum' (temp lowp int)
1960:57 'level3_high' (temp highp int)
1970:60 add second child into first child (temp highp int)
1980:60 'sum' (temp lowp int)
1990:60 'level2_high2' (temp highp int)
2000:63 add second child into first child (temp lowp int)
2010:63 'sum' (temp lowp int)
2020:63 'level1_low3' (temp lowp int)
2030:65 add second child into first child (temp lowp int)
2040:65 'sum' (temp lowp int)
2050:65 add (temp lowp int)
2060:65 Constant:
2070:65 4 (const int)
2080:65 direct index (temp lowp int)
2090:65 add (temp lowp 2-component vector of int)
2100:65 component-wise multiply (temp lowp 2-component vector of int)
2110:65 Construct ivec2 (temp lowp 2-component vector of int)
2120:65 'level1_low3' (temp lowp int)
2130:65 Construct ivec2 (temp lowp 2-component vector of int)
2140:65 'level1_high' (temp highp int)
2150:65 Construct ivec2 (temp lowp 2-component vector of int)
2160:65 Comma (temp highp int)
2170:65 'level1_low3' (temp lowp int)
2180:65 'level1_high' (temp highp int)
2190:65 Constant:
2200:65 0 (const int)
2210:67 texture (global lowp 4-component vector of float)
2220:67 'samplerLow' (uniform lowp sampler2D)
2230:67 Constant:
2240:67 0.100000
2250:67 0.200000
2260:68 texture (global mediump 4-component vector of float)
2270:68 'samplerMed' (uniform mediump sampler2D)
2280:68 Constant:
2290:68 0.100000
2300:68 0.200000
2310:69 texture (global highp 4-component vector of float)
2320:69 'samplerHigh' (uniform highp sampler2D)
2330:69 Constant:
2340:69 0.100000
2350:69 0.200000
2360:? Linker Objects
2370:? 'color' (smooth in mediump 3-component vector of float)
2380:? 'global_medium' (global mediump int)
2390:? 'samplerLow' (uniform lowp sampler2D)
2400:? 'samplerMed' (uniform mediump sampler2D)
2410:? 'samplerHigh' (uniform highp sampler2D)
2420:? 'uint' (global mediump 4-component vector of float)
2430:? 'global_high' (global highp int)
2440:? 'b2' (global mediump 2-component vector of bool)
245