1array.frag
2ERROR: 0:21: '[' :  array index out of range '2'
3ERROR: 0:27: '[' :  array must be redeclared with a size before being indexed with a variable
4ERROR: 0:30: 'assign' :  cannot convert from ' global 4-element array of float' to ' global 5-element array of float'
5ERROR: 0:31: 'assign' :  cannot convert from ' global 4-element array of float' to ' global runtime-sized array of float'
6ERROR: 0:33: 'foo' : no matching overloaded function found
7ERROR: 0:42: '[' :  array index out of range '5'
8ERROR: 0:45: '[' :  array index out of range '1000'
9ERROR: 0:46: '[' :  index out of range '-1'
10ERROR: 0:52: '[' :  array index out of range '2'
11ERROR: 0:54: 'const' : non-matching or non-convertible constant type for const initializer
12ERROR: 0:56: '=' :  cannot convert from ' const 2-element array of int' to ' temp 3-element array of int'
13ERROR: 0:57: '[]' : scalar integer expression required
14ERROR: 0:57: '[' :  index out of range '-858993459'
15ERROR: 0:58: '[]' : scalar integer expression required
16ERROR: 0:61: '' : array size required
17ERROR: 0:62: '' : array size required
18ERROR: 0:63: '' : array size required
19ERROR: 0:66: '=' :  cannot convert from ' temp 3-component vector of float' to ' global float'
20ERROR: 0:76: 'bar' : no matching overloaded function found
21ERROR: 0:79: '' : array size required
22ERROR: 0:84: 'return' : type does not match, or is not convertible to, the function's return type
23ERROR: 0:93: 'length' :  array must be declared with a size before using this method
24ERROR: 0:101: '[' :  array index out of range '5'
25ERROR: 0:104: 'constructor' : array constructor must have at least one argument
26ERROR: 0:104: '=' :  cannot convert from ' const float' to ' global unsized 1-element array of int'
27ERROR: 0:106: 'constructor' : array argument must be sized
28ERROR: 0:111: 'variable index' : required extension not requested: GL_EXT_nonuniform_qualifier
29ERROR: 0:111: 'variable indexing sampler array' : not supported with this profile: none
30ERROR: 0:112: '[]' : array initializer must be sized
31ERROR: 29 compilation errors.  No code generated.
32
33
34Shader version: 130
35ERROR: node is still EOpNull!
360:9  Function Definition: foo(f1[5]; ( global 4-element array of float)
370:9    Function Parameters:
380:9      'a' ( in 5-element array of float)
390:11    Sequence
400:11      Branch: Return with expression
410:11        Construct float ( temp 4-element array of float)
420:11          direct index ( temp float)
430:11            'a' ( in 5-element array of float)
440:11            Constant:
450:11              0 (const int)
460:11          direct index ( temp float)
470:11            'a' ( in 5-element array of float)
480:11            Constant:
490:11              1 (const int)
500:11          direct index ( temp float)
510:11            'a' ( in 5-element array of float)
520:11            Constant:
530:11              2 (const int)
540:11          direct index ( temp float)
550:11            'a' ( in 5-element array of float)
560:11            Constant:
570:11              3 (const int)
580:14  Function Definition: bar(f1[5]; ( global void)
590:14    Function Parameters:
600:14      '' ( in 5-element array of float)
610:16  Function Definition: main( ( global void)
620:16    Function Parameters:
630:?     Sequence
640:?       Sequence
650:21        move second child to first child ( temp float)
660:21          direct index ( temp float)
670:21            'gu' ( temp 2-element array of float)
680:21            Constant:
690:21              2 (const int)
700:21          Constant:
710:21            4.000000
720:24      move second child to first child ( temp float)
730:24        direct index ( temp float)
740:24          'gu' ( global runtime-sized array of float)
750:24          Constant:
760:24            2 (const int)
770:24        Constant:
780:24          4.000000
790:26      move second child to first child ( temp float)
800:26        direct index ( temp float)
810:26          'gu' ( global runtime-sized array of float)
820:26          Constant:
830:26            3 (const int)
840:26        Constant:
850:26          3.000000
860:27      move second child to first child ( temp float)
870:27        indirect index ( temp float)
880:27          'gu' ( global runtime-sized array of float)
890:27          'a' ( uniform int)
900:27        Constant:
910:27          5.000000
920:29      move second child to first child ( temp 4-element array of float)
930:29        'g4' ( global 4-element array of float)
940:29        Function Call: foo(f1[5]; ( global 4-element array of float)
950:29          'g5' ( global 5-element array of float)
960:30      'g5' ( global 5-element array of float)
970:31      'gu' ( global runtime-sized array of float)
980:33      Constant:
990:33        0.000000
1000:34      Function Call: bar(f1[5]; ( global void)
1010:34        'g5' ( global 5-element array of float)
1020:36      Test condition and select ( temp void)
1030:36        Condition
1040:36        Compare Equal ( temp bool)
1050:36          Constant:
1060:36            1.000000
1070:36            2.000000
1080:36            3.000000
1090:36            4.000000
1100:36          'g4' ( global 4-element array of float)
1110:36        true case
1120:37        move second child to first child ( temp float)
1130:37          direct index ( temp float)
1140:37            'gu' ( global runtime-sized array of float)
1150:37            Constant:
1160:37              0 (const int)
1170:37          Constant:
1180:37            2.000000
1190:40      move second child to first child ( temp float)
1200:40        direct index ( temp float)
1210:40          'u' ( temp 5-element array of float)
1220:40          Constant:
1230:40            2 (const int)
1240:40        Constant:
1250:40          3.000000
1260:42      move second child to first child ( temp float)
1270:42        direct index ( temp float)
1280:42          'u' ( temp 5-element array of float)
1290:42          Constant:
1300:42            5 (const int)
1310:42        Constant:
1320:42          5.000000
1330:43      Function Call: foo(f1[5]; ( global 4-element array of float)
1340:43        'u' ( temp 5-element array of float)
1350:45      move second child to first child ( temp 4-component vector of float)
1360:45        direct index ( temp 4-component vector of float FragData)
1370:45          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
1380:45          Constant:
1390:45            1000 (const int)
1400:45        Constant:
1410:45          1.000000
1420:45          1.000000
1430:45          1.000000
1440:45          1.000000
1450:46      move second child to first child ( temp 4-component vector of float)
1460:46        direct index ( temp 4-component vector of float FragData)
1470:46          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
1480:46          Constant:
1490:46            -1 (const int)
1500:46        Constant:
1510:46          1.000000
1520:46          1.000000
1530:46          1.000000
1540:46          1.000000
1550:47      move second child to first child ( temp 4-component vector of float)
1560:47        direct index ( temp 4-component vector of float FragData)
1570:47          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
1580:47          Constant:
1590:47            3 (const int)
1600:47        Constant:
1610:47          1.000000
1620:47          1.000000
1630:47          1.000000
1640:47          1.000000
1650:50      Sequence
1660:50        move second child to first child ( temp int)
1670:50          'sum' ( temp int)
1680:50          Constant:
1690:50            3 (const int)
1700:51      add second child into first child ( temp int)
1710:51        'sum' ( temp int)
1720:51        Constant:
1730:51          2 (const int)
1740:52      add second child into first child ( temp int)
1750:52        'sum' ( temp int)
1760:52        Constant:
1770:52          2 (const int)
1780:55      Sequence
1790:55        move second child to first child ( temp 2-element array of int)
1800:55          'ica' ( temp 2-element array of int)
1810:55          Constant:
1820:55            3 (const int)
1830:55            2 (const int)
1840:57      move second child to first child ( temp int)
1850:57        direct index ( temp int)
1860:57          'ica' ( temp 2-element array of int)
1870:57          Constant:
1880:57            3.100000
1890:57        Constant:
1900:57          3 (const int)
1910:58      move second child to first child ( temp int)
1920:58        indirect index ( temp int)
1930:58          'ica' ( temp 2-element array of int)
1940:58          direct index ( temp float)
1950:58            'u' ( temp 5-element array of float)
1960:58            Constant:
1970:58              1 (const int)
1980:58        Constant:
1990:58          4 (const int)
2000:68  Function Definition: foo( ( global void)
2010:68    Function Parameters:
2020:?     Sequence
2030:71      move second child to first child ( temp int)
2040:71        direct index ( temp int)
2050:71          'uns' ( temp unsized 4-element array of int)
2060:71          Constant:
2070:71            3 (const int)
2080:71        Constant:
2090:71          40 (const int)
2100:72      move second child to first child ( temp int)
2110:72        direct index ( temp int)
2120:72          'uns' ( temp unsized 4-element array of int)
2130:72          Constant:
2140:72            1 (const int)
2150:72        Constant:
2160:72          30 (const int)
2170:73      move second child to first child ( temp 3-component vector of float)
2180:73        direct index ( temp 3-component vector of float)
2190:73          'guns' ( global unsized 8-element array of 3-component vector of float)
2200:73          Constant:
2210:73            2 (const int)
2220:73        Constant:
2230:73          2.400000
2240:73          2.400000
2250:73          2.400000
2260:76      Constant:
2270:76        0.000000
2280:79  Function Definition: foo2( ( global unsized 1-element array of float)
2290:79    Function Parameters:
2300:?     Sequence
2310:82      Branch: Return with expression
2320:82        'f' ( temp unsized 1-element array of float)
2330:84      Branch: Return with expression
2340:84        'g' ( temp 9-element array of float)
2350:89  Function Definition: foo3( ( global void)
2360:89    Function Parameters:
2370:?     Sequence
2380:92      move second child to first child ( temp float)
2390:92        direct index ( temp float)
2400:92          'resize1' ( temp 3-element array of float)
2410:92          Constant:
2420:92            2 (const int)
2430:92        Constant:
2440:92          4.000000
2450:93      Constant:
2460:93        1 (const int)
2470:95      Constant:
2480:95        3 (const int)
2490:98      move second child to first child ( temp float)
2500:98        direct index ( temp float)
2510:98          'resize2' ( temp 5-element array of float)
2520:98          Constant:
2530:98            5 (const int)
2540:98        Constant:
2550:98          4.000000
2560:100      Constant:
2570:100        5 (const int)
2580:101      move second child to first child ( temp float)
2590:101        direct index ( temp float)
2600:101          'resize2' ( temp 5-element array of float)
2610:101          Constant:
2620:101            5 (const int)
2630:101        Constant:
2640:101          4.000000
2650:106  Sequence
2660:106    move second child to first child ( temp float)
2670:106      'b' ( global float)
2680:106      Constant:
2690:106        0.000000
2700:109  Function Definition: foo4( ( global void)
2710:109    Function Parameters:
2720:111    Sequence
2730:111      indirect index ( temp sampler2D)
2740:111        's2d' ( uniform runtime-sized array of sampler2D)
2750:111        'a' ( uniform int)
2760:112      Sequence
2770:112        move second child to first child ( temp unsized 1-element array of float)
2780:112          'local' ( temp unsized 1-element array of float)
2790:112          'gUnusedUnsized' ( global unsized 1-element array of float)
2800:?   Linker Objects
2810:?     'gu' ( global runtime-sized array of float)
2820:?     'g4' ( global 4-element array of float)
2830:?     'g5' ( global 5-element array of float)
2840:?     'a' ( uniform int)
2850:?     'guns' ( global unsized 8-element array of 3-component vector of float)
2860:?     'f' ( global float)
2870:?     'gUnusedUnsized' ( global unsized 1-element array of float)
2880:?     'i' ( global unsized 1-element array of int)
2890:?     'emptyA' ( global unsized 1-element array of float)
2900:?     'b' ( global float)
2910:?     's2d' ( uniform runtime-sized array of sampler2D)
292
293
294Linked fragment stage:
295
296
297Shader version: 130
298ERROR: node is still EOpNull!
2990:9  Function Definition: foo(f1[5]; ( global 4-element array of float)
3000:9    Function Parameters:
3010:9      'a' ( in 5-element array of float)
3020:11    Sequence
3030:11      Branch: Return with expression
3040:11        Construct float ( temp 4-element array of float)
3050:11          direct index ( temp float)
3060:11            'a' ( in 5-element array of float)
3070:11            Constant:
3080:11              0 (const int)
3090:11          direct index ( temp float)
3100:11            'a' ( in 5-element array of float)
3110:11            Constant:
3120:11              1 (const int)
3130:11          direct index ( temp float)
3140:11            'a' ( in 5-element array of float)
3150:11            Constant:
3160:11              2 (const int)
3170:11          direct index ( temp float)
3180:11            'a' ( in 5-element array of float)
3190:11            Constant:
3200:11              3 (const int)
3210:14  Function Definition: bar(f1[5]; ( global void)
3220:14    Function Parameters:
3230:14      '' ( in 5-element array of float)
3240:16  Function Definition: main( ( global void)
3250:16    Function Parameters:
3260:?     Sequence
3270:?       Sequence
3280:21        move second child to first child ( temp float)
3290:21          direct index ( temp float)
3300:21            'gu' ( temp 2-element array of float)
3310:21            Constant:
3320:21              2 (const int)
3330:21          Constant:
3340:21            4.000000
3350:24      move second child to first child ( temp float)
3360:24        direct index ( temp float)
3370:24          'gu' ( global runtime-sized array of float)
3380:24          Constant:
3390:24            2 (const int)
3400:24        Constant:
3410:24          4.000000
3420:26      move second child to first child ( temp float)
3430:26        direct index ( temp float)
3440:26          'gu' ( global runtime-sized array of float)
3450:26          Constant:
3460:26            3 (const int)
3470:26        Constant:
3480:26          3.000000
3490:27      move second child to first child ( temp float)
3500:27        indirect index ( temp float)
3510:27          'gu' ( global runtime-sized array of float)
3520:27          'a' ( uniform int)
3530:27        Constant:
3540:27          5.000000
3550:29      move second child to first child ( temp 4-element array of float)
3560:29        'g4' ( global 4-element array of float)
3570:29        Function Call: foo(f1[5]; ( global 4-element array of float)
3580:29          'g5' ( global 5-element array of float)
3590:30      'g5' ( global 5-element array of float)
3600:31      'gu' ( global runtime-sized array of float)
3610:33      Constant:
3620:33        0.000000
3630:34      Function Call: bar(f1[5]; ( global void)
3640:34        'g5' ( global 5-element array of float)
3650:36      Test condition and select ( temp void)
3660:36        Condition
3670:36        Compare Equal ( temp bool)
3680:36          Constant:
3690:36            1.000000
3700:36            2.000000
3710:36            3.000000
3720:36            4.000000
3730:36          'g4' ( global 4-element array of float)
3740:36        true case
3750:37        move second child to first child ( temp float)
3760:37          direct index ( temp float)
3770:37            'gu' ( global runtime-sized array of float)
3780:37            Constant:
3790:37              0 (const int)
3800:37          Constant:
3810:37            2.000000
3820:40      move second child to first child ( temp float)
3830:40        direct index ( temp float)
3840:40          'u' ( temp 5-element array of float)
3850:40          Constant:
3860:40            2 (const int)
3870:40        Constant:
3880:40          3.000000
3890:42      move second child to first child ( temp float)
3900:42        direct index ( temp float)
3910:42          'u' ( temp 5-element array of float)
3920:42          Constant:
3930:42            5 (const int)
3940:42        Constant:
3950:42          5.000000
3960:43      Function Call: foo(f1[5]; ( global 4-element array of float)
3970:43        'u' ( temp 5-element array of float)
3980:45      move second child to first child ( temp 4-component vector of float)
3990:45        direct index ( temp 4-component vector of float FragData)
4000:45          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
4010:45          Constant:
4020:45            1000 (const int)
4030:45        Constant:
4040:45          1.000000
4050:45          1.000000
4060:45          1.000000
4070:45          1.000000
4080:46      move second child to first child ( temp 4-component vector of float)
4090:46        direct index ( temp 4-component vector of float FragData)
4100:46          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
4110:46          Constant:
4120:46            -1 (const int)
4130:46        Constant:
4140:46          1.000000
4150:46          1.000000
4160:46          1.000000
4170:46          1.000000
4180:47      move second child to first child ( temp 4-component vector of float)
4190:47        direct index ( temp 4-component vector of float FragData)
4200:47          'gl_FragData' ( fragColor 32-element array of 4-component vector of float FragData)
4210:47          Constant:
4220:47            3 (const int)
4230:47        Constant:
4240:47          1.000000
4250:47          1.000000
4260:47          1.000000
4270:47          1.000000
4280:50      Sequence
4290:50        move second child to first child ( temp int)
4300:50          'sum' ( temp int)
4310:50          Constant:
4320:50            3 (const int)
4330:51      add second child into first child ( temp int)
4340:51        'sum' ( temp int)
4350:51        Constant:
4360:51          2 (const int)
4370:52      add second child into first child ( temp int)
4380:52        'sum' ( temp int)
4390:52        Constant:
4400:52          2 (const int)
4410:55      Sequence
4420:55        move second child to first child ( temp 2-element array of int)
4430:55          'ica' ( temp 2-element array of int)
4440:55          Constant:
4450:55            3 (const int)
4460:55            2 (const int)
4470:57      move second child to first child ( temp int)
4480:57        direct index ( temp int)
4490:57          'ica' ( temp 2-element array of int)
4500:57          Constant:
4510:57            3.100000
4520:57        Constant:
4530:57          3 (const int)
4540:58      move second child to first child ( temp int)
4550:58        indirect index ( temp int)
4560:58          'ica' ( temp 2-element array of int)
4570:58          direct index ( temp float)
4580:58            'u' ( temp 5-element array of float)
4590:58            Constant:
4600:58              1 (const int)
4610:58        Constant:
4620:58          4 (const int)
4630:106  Sequence
4640:106    move second child to first child ( temp float)
4650:106      'b' ( global float)
4660:106      Constant:
4670:106        0.000000
4680:?   Linker Objects
4690:?     'gu' ( global runtime-sized array of float)
4700:?     'g4' ( global 4-element array of float)
4710:?     'g5' ( global 5-element array of float)
4720:?     'a' ( uniform int)
4730:?     'guns' ( global 8-element array of 3-component vector of float)
4740:?     'f' ( global float)
4750:?     'gUnusedUnsized' ( global 1-element array of float)
4760:?     'i' ( global 1-element array of int)
4770:?     'emptyA' ( global 1-element array of float)
4780:?     'b' ( global float)
4790:?     's2d' ( uniform runtime-sized array of sampler2D)
480
481