• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1array100.frag
2ERROR: 0:3: 'float' : type requires declaration of default precision qualifier
3ERROR: 0:3: '' : array size required
4ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
5ERROR: 0:9: 'arrayed type' : not supported for this version or the enabled extensions
6ERROR: 0:9: 'array in function return type' : not supported for this version or the enabled extensions
7ERROR: 0:11: 'arrayed constructor' : not supported for this version or the enabled extensions
8ERROR: 0:21: '[' :  array index out of range '2'
9ERROR: 0:24: 'array assignment' : not supported for this version or the enabled extensions
10ERROR: 0:25: 'array assignment' : not supported for this version or the enabled extensions
11ERROR: 0:25: 'assign' :  cannot convert from ' global 4-element array of mediump float' to ' global 5-element array of mediump float'
12ERROR: 0:26: 'array assignment' : not supported for this version or the enabled extensions
13ERROR: 0:26: 'assign' :  cannot convert from ' global 4-element array of mediump float' to ' global unsized 1-element array of mediump float'
14ERROR: 0:28: 'foo' : no matching overloaded function found
15ERROR: 0:31: 'arrayed constructor' : not supported for this version or the enabled extensions
16ERROR: 0:31: 'array comparison' : not supported for this version or the enabled extensions
17ERROR: 0:35: '[' :  array index out of range '5'
18ERROR: 0:38: '[' :  array index out of range '1000'
19ERROR: 0:39: '[' :  index out of range '-1'
20ERROR: 0:53: 'array in function return type' : not supported for this version or the enabled extensions
21ERROR: 0:66: 'array assignment' : not supported for this version or the enabled extensions
22ERROR: 0:68: 'array assignment' : not supported for this version or the enabled extensions
23ERROR: 0:69: 'array initializer' : not supported for this version or the enabled extensions
24ERROR: 22 compilation errors.  No code generated.
25
26
27Shader version: 100
28ERROR: node is still EOpNull!
290:9  Function Definition: foo(f1[5]; ( global 4-element array of mediump float)
300:9    Function Parameters:
310:9      'a' ( in 5-element array of mediump float)
320:11    Sequence
330:11      Branch: Return with expression
340:11        Construct float ( temp 4-element array of mediump float)
350:11          direct index ( temp mediump float)
360:11            'a' ( in 5-element array of mediump float)
370:11            Constant:
380:11              0 (const int)
390:11          direct index ( temp mediump float)
400:11            'a' ( in 5-element array of mediump float)
410:11            Constant:
420:11              1 (const int)
430:11          direct index ( temp mediump float)
440:11            'a' ( in 5-element array of mediump float)
450:11            Constant:
460:11              2 (const int)
470:11          direct index ( temp mediump float)
480:11            'a' ( in 5-element array of mediump float)
490:11            Constant:
500:11              3 (const int)
510:14  Function Definition: bar(f1[5]; ( global void)
520:14    Function Parameters:
530:14      '' ( in 5-element array of mediump float)
540:16  Function Definition: main( ( global void)
550:16    Function Parameters:
560:?     Sequence
570:?       Sequence
580:21        move second child to first child ( temp mediump float)
590:21          direct index ( temp mediump float)
600:21            'gu' ( temp 2-element array of mediump float)
610:21            Constant:
620:21              2 (const int)
630:21          Constant:
640:21            4.000000
650:24      move second child to first child ( temp 4-element array of mediump float)
660:24        'g4' ( global 4-element array of mediump float)
670:24        Function Call: foo(f1[5]; ( global 4-element array of mediump float)
680:24          'g5' ( global 5-element array of mediump float)
690:25      'g5' ( global 5-element array of mediump float)
700:26      'gu' ( global unsized 1-element array of mediump float)
710:28      Constant:
720:28        0.000000
730:29      Function Call: bar(f1[5]; ( global void)
740:29        'g5' ( global 5-element array of mediump float)
750:31      Test condition and select ( temp void)
760:31        Condition
770:31        Compare Equal ( temp bool)
780:31          Constant:
790:31            1.000000
800:31            2.000000
810:31            3.000000
820:31            4.000000
830:31          'g4' ( global 4-element array of mediump float)
840:31        true case
850:32        move second child to first child ( temp mediump float)
860:32          direct index ( temp mediump float)
870:32            'gu' ( global unsized 1-element array of mediump float)
880:32            Constant:
890:32              0 (const int)
900:32          Constant:
910:32            2.000000
920:35      move second child to first child ( temp mediump float)
930:35        direct index ( temp mediump float)
940:35          'u' ( temp 5-element array of mediump float)
950:35          Constant:
960:35            5 (const int)
970:35        Constant:
980:35          5.000000
990:36      Function Call: foo(f1[5]; ( global 4-element array of mediump float)
1000:36        'u' ( temp 5-element array of mediump float)
1010:38      move second child to first child ( temp mediump 4-component vector of float)
1020:38        direct index ( temp mediump 4-component vector of float FragData)
1030:38          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
1040:38          Constant:
1050:38            1000 (const int)
1060:38        Constant:
1070:38          1.000000
1080:38          1.000000
1090:38          1.000000
1100:38          1.000000
1110:39      move second child to first child ( temp mediump 4-component vector of float)
1120:39        direct index ( temp mediump 4-component vector of float FragData)
1130:39          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
1140:39          Constant:
1150:39            -1 (const int)
1160:39        Constant:
1170:39          1.000000
1180:39          1.000000
1190:39          1.000000
1200:39          1.000000
1210:40      move second child to first child ( temp mediump 4-component vector of float)
1220:40        direct index ( temp mediump 4-component vector of float FragData)
1230:40          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
1240:40          Constant:
1250:40            3 (const int)
1260:40        Constant:
1270:40          1.000000
1280:40          1.000000
1290:40          1.000000
1300:40          1.000000
1310:53  Function Definition: bar9( ( global structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1320:53    Function Parameters:
1330:?     Sequence
1340:56      Branch: Return with expression
1350:56        's' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1360:59  Function Definition: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; ( global void)
1370:59    Function Parameters:
1380:59      's' ( in structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1390:63  Function Definition: bar11( ( global void)
1400:63    Function Parameters:
1410:?     Sequence
1420:66      move second child to first child ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1430:66        's1' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1440:66        's2' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1450:67      Function Call: bar10(struct-SB-vf4-struct-SA-vf3-vf2[4]11; ( global void)
1460:67        's1' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1470:68      move second child to first child ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1480:68        's2' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1490:68        Function Call: bar9( ( global structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1500:69      Sequence
1510:69        move second child to first child ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1520:69          'initSb' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1530:69          's1' ( temp structure{ global mediump 4-component vector of float v4,  global structure{ global mediump 3-component vector of float v3,  global 4-element array of mediump 2-component vector of float v2} sa})
1540:?   Linker Objects
1550:?     'gu' ( global unsized 1-element array of mediump float)
1560:?     'g4' ( global 4-element array of mediump float)
1570:?     'g5' ( global 5-element array of mediump float)
1580:?     'a' ( uniform mediump int)
159
160
161Linked fragment stage:
162
163
164Shader version: 100
165ERROR: node is still EOpNull!
1660:9  Function Definition: foo(f1[5]; ( global 4-element array of mediump float)
1670:9    Function Parameters:
1680:9      'a' ( in 5-element array of mediump float)
1690:11    Sequence
1700:11      Branch: Return with expression
1710:11        Construct float ( temp 4-element array of mediump float)
1720:11          direct index ( temp mediump float)
1730:11            'a' ( in 5-element array of mediump float)
1740:11            Constant:
1750:11              0 (const int)
1760:11          direct index ( temp mediump float)
1770:11            'a' ( in 5-element array of mediump float)
1780:11            Constant:
1790:11              1 (const int)
1800:11          direct index ( temp mediump float)
1810:11            'a' ( in 5-element array of mediump float)
1820:11            Constant:
1830:11              2 (const int)
1840:11          direct index ( temp mediump float)
1850:11            'a' ( in 5-element array of mediump float)
1860:11            Constant:
1870:11              3 (const int)
1880:14  Function Definition: bar(f1[5]; ( global void)
1890:14    Function Parameters:
1900:14      '' ( in 5-element array of mediump float)
1910:16  Function Definition: main( ( global void)
1920:16    Function Parameters:
1930:?     Sequence
1940:?       Sequence
1950:21        move second child to first child ( temp mediump float)
1960:21          direct index ( temp mediump float)
1970:21            'gu' ( temp 2-element array of mediump float)
1980:21            Constant:
1990:21              2 (const int)
2000:21          Constant:
2010:21            4.000000
2020:24      move second child to first child ( temp 4-element array of mediump float)
2030:24        'g4' ( global 4-element array of mediump float)
2040:24        Function Call: foo(f1[5]; ( global 4-element array of mediump float)
2050:24          'g5' ( global 5-element array of mediump float)
2060:25      'g5' ( global 5-element array of mediump float)
2070:26      'gu' ( global 1-element array of mediump float)
2080:28      Constant:
2090:28        0.000000
2100:29      Function Call: bar(f1[5]; ( global void)
2110:29        'g5' ( global 5-element array of mediump float)
2120:31      Test condition and select ( temp void)
2130:31        Condition
2140:31        Compare Equal ( temp bool)
2150:31          Constant:
2160:31            1.000000
2170:31            2.000000
2180:31            3.000000
2190:31            4.000000
2200:31          'g4' ( global 4-element array of mediump float)
2210:31        true case
2220:32        move second child to first child ( temp mediump float)
2230:32          direct index ( temp mediump float)
2240:32            'gu' ( global 1-element array of mediump float)
2250:32            Constant:
2260:32              0 (const int)
2270:32          Constant:
2280:32            2.000000
2290:35      move second child to first child ( temp mediump float)
2300:35        direct index ( temp mediump float)
2310:35          'u' ( temp 5-element array of mediump float)
2320:35          Constant:
2330:35            5 (const int)
2340:35        Constant:
2350:35          5.000000
2360:36      Function Call: foo(f1[5]; ( global 4-element array of mediump float)
2370:36        'u' ( temp 5-element array of mediump float)
2380:38      move second child to first child ( temp mediump 4-component vector of float)
2390:38        direct index ( temp mediump 4-component vector of float FragData)
2400:38          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
2410:38          Constant:
2420:38            1000 (const int)
2430:38        Constant:
2440:38          1.000000
2450:38          1.000000
2460:38          1.000000
2470:38          1.000000
2480:39      move second child to first child ( temp mediump 4-component vector of float)
2490:39        direct index ( temp mediump 4-component vector of float FragData)
2500:39          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
2510:39          Constant:
2520:39            -1 (const int)
2530:39        Constant:
2540:39          1.000000
2550:39          1.000000
2560:39          1.000000
2570:39          1.000000
2580:40      move second child to first child ( temp mediump 4-component vector of float)
2590:40        direct index ( temp mediump 4-component vector of float FragData)
2600:40          'gl_FragData' ( fragColor 32-element array of mediump 4-component vector of float FragData)
2610:40          Constant:
2620:40            3 (const int)
2630:40        Constant:
2640:40          1.000000
2650:40          1.000000
2660:40          1.000000
2670:40          1.000000
2680:?   Linker Objects
2690:?     'gu' ( global 1-element array of mediump float)
2700:?     'g4' ( global 4-element array of mediump float)
2710:?     'g5' ( global 5-element array of mediump float)
2720:?     'a' ( uniform mediump int)
273
274