1constFold.frag 2ERROR: 0:109: '[' : index out of range '-1' 3ERROR: 0:110: '[' : vector index out of range '4' 4ERROR: 0:111: '[' : index out of range '-2' 5ERROR: 0:112: '[' : index out of range '-1' 6ERROR: 0:113: '[' : vector index out of range '3' 7ERROR: 0:114: '[' : matrix index out of range '3' 8ERROR: 6 compilation errors. No code generated. 9 10 11Shader version: 430 12ERROR: node is still EOpNull! 130:28 Function Definition: main( ( global void) 140:28 Function Parameters: 150:30 Sequence 160:30 Sequence 170:30 move second child to first child ( temp 4-component vector of float) 180:30 'dx' ( temp 4-component vector of float) 190:30 dPdx ( global 4-component vector of float) 200:30 'inv' ( smooth in 4-component vector of float) 210:37 move second child to first child ( temp 4-component vector of float) 220:37 'FragColor' ( out 4-component vector of float) 230:37 Constant: 240:37 2.000000 250:37 6.000000 260:37 3.000000 270:37 171.887339 280:42 move second child to first child ( temp 4-component vector of float) 290:42 'FragColor' ( out 4-component vector of float) 300:42 Constant: 310:42 3.000000 320:42 2.000000 330:42 0.001593 340:42 -0.999999 350:43 move second child to first child ( temp 2-component vector of float) 360:43 'out2' ( out 2-component vector of float) 370:43 Constant: 380:43 5.600000 390:43 5.800000 400:44 move second child to first child ( temp 4-component vector of float) 410:44 'out3' ( out 4-component vector of float) 420:44 Constant: 430:44 20.085537 440:44 2.302585 450:44 16.000000 460:44 8.000000 470:45 move second child to first child ( temp 4-component vector of float) 480:45 'out4' ( out 4-component vector of float) 490:45 Constant: 500:45 10.000000 510:45 0.100000 520:45 4.700000 530:45 10.900000 540:46 move second child to first child ( temp 4-component vector of int) 550:46 'out5' ( out 4-component vector of int) 560:46 Constant: 570:46 8 (const int) 580:46 17 (const int) 590:46 -1 (const int) 600:46 1 (const int) 610:47 move second child to first child ( temp 3-component vector of float) 620:47 'out6' ( out 3-component vector of float) 630:47 Constant: 640:47 -1.000000 650:47 1.000000 660:47 0.000000 670:48 move second child to first child ( temp 4-component vector of float) 680:48 'out7' ( out 4-component vector of float) 690:48 Constant: 700:48 4.000000 710:48 -4.000000 720:48 5.000000 730:48 -5.000000 740:49 move second child to first child ( temp 4-component vector of float) 750:49 'out8' ( out 4-component vector of float) 760:49 Constant: 770:49 4.000000 780:49 5.000000 790:49 4.000000 800:49 -6.000000 810:50 move second child to first child ( temp 4-component vector of float) 820:50 'out9' ( out 4-component vector of float) 830:50 Constant: 840:50 8.000000 850:50 -4.000000 860:50 0.345000 870:50 0.400000 880:51 move second child to first child ( temp 4-component vector of float) 890:51 'out10' ( out 4-component vector of float) 900:51 Constant: 910:51 1.000000 920:51 1.000000 930:51 0.000000 940:51 0.000000 950:52 move second child to first child ( temp 4-component vector of float) 960:52 'out11' ( out 4-component vector of float) 970:52 Constant: 980:52 0.000000 990:52 0.000000 1000:52 1.000000 1010:52 0.000000 1020:53 move second child to first child ( temp 4-component vector of float) 1030:53 'out11' ( out 4-component vector of float) 1040:53 Constant: 1050:53 1.029639 1060:53 0.799690 1070:53 0.674741 1080:53 1.570696 1090:54 move second child to first child ( temp 4-component vector of float) 1100:54 'out11' ( out 4-component vector of float) 1110:54 Constant: 1120:54 0.000000 1130:54 0.523599 1140:54 1.570796 1150:54 1.047198 1160:58 move second child to first child ( temp 4-component vector of float) 1170:58 'out11' ( out 4-component vector of float) 1180:58 Constant: 1190:58 1.373401 1200:58 0.000000 1210:58 0.896055 1220:58 -0.380506 1230:62 move second child to first child ( temp 2-component vector of int) 1240:62 'out12' ( out 2-component vector of int) 1250:62 Constant: 1260:62 15 (const int) 1270:62 16 (const int) 1280:63 move second child to first child ( temp 2-component vector of int) 1290:63 'out12' ( out 2-component vector of int) 1300:63 Constant: 1310:63 17 (const int) 1320:63 17 (const int) 1330:64 move second child to first child ( temp 2-component vector of float) 1340:64 'out2' ( out 2-component vector of float) 1350:64 Constant: 1360:64 871.421253 1370:64 4913.000000 1380:65 move second child to first child ( temp 3-component vector of uint) 1390:65 'out13' ( out 3-component vector of uint) 1400:65 Constant: 1410:65 10 (const uint) 1420:65 20 (const uint) 1430:65 30 (const uint) 1440:66 move second child to first child ( temp 2-component vector of float) 1450:66 'out2' ( out 2-component vector of float) 1460:66 Constant: 1470:66 3.000000 1480:66 6.000000 1490:67 move second child to first child ( temp 2-component vector of float) 1500:67 'out2' ( out 2-component vector of float) 1510:67 Constant: 1520:67 3.500000 1530:67 4.500000 1540:68 move second child to first child ( temp 2-component vector of float) 1550:68 'out2' ( out 2-component vector of float) 1560:68 Constant: 1570:68 0.000000 1580:68 1.000000 1590:69 move second child to first child ( temp 4-component vector of float) 1600:69 'out11' ( out 4-component vector of float) 1610:69 Constant: 1620:69 0.000000 1630:69 0.028000 1640:69 0.500000 1650:69 1.000000 1660:78 Function Definition: foo( ( global void) 1670:78 Function Parameters: 1680:? Sequence 1690:81 move second child to first child ( temp float) 1700:81 direct index ( temp float) 1710:81 'a' ( temp 3-element array of float) 1720:81 Constant: 1730:81 0 (const int) 1740:81 Constant: 1750:81 7.000000 1760:82 Constant: 1770:82 2 (const int) 1780:83 Constant: 1790:83 2147483647 (const int) 1800:84 Constant: 1810:84 +1.#INF 1820:84 Constant: 1830:84 -1.#INF 1840:84 Constant: 1850:84 1.#IND 1860:88 Constant: 1870:88 2 (const uint) 1880:88 3 (const uint) 1890:89 Constant: 1900:89 0 (const uint) 1910:90 Constant: 1920:90 6 (const uint) 1930:90 7 (const uint) 1940:103 Function Definition: foo2( ( global void) 1950:103 Function Parameters: 1960:105 Sequence 1970:105 direct index ( temp float) 1980:105 'a1' ( global 1-element array of float) 1990:105 Constant: 2000:105 0 (const int) 2010:106 direct index ( temp float) 2020:106 'a2' ( global 2-element array of float) 2030:106 Constant: 2040:106 0 (const int) 2050:107 direct index ( temp float) 2060:107 'a3' ( global 4-element array of float) 2070:107 Constant: 2080:107 0 (const int) 2090:108 direct index ( temp float) 2100:108 'a4' ( global 2-element array of float) 2110:108 Constant: 2120:108 0 (const int) 2130:109 Constant: 2140:109 1.000000 2150:110 Constant: 2160:110 5.000000 2170:111 Constant: 2180:111 2.000000 2190:112 Constant: 2200:112 3.000000 2210:113 Constant: 2220:113 0.000000 2230:114 Constant: 2240:114 0.000000 2250:116 move second child to first child ( temp int) 2260:116 'p' ( temp int) 2270:116 Constant: 2280:116 2147483647 (const int) 2290:117 move second child to first child ( temp int) 2300:117 'p' ( temp int) 2310:117 Constant: 2320:117 -2147483648 (const int) 2330:118 move second child to first child ( temp int) 2340:118 'p' ( temp int) 2350:118 Constant: 2360:118 -2147483647 (const int) 2370:119 Sequence 2380:119 move second child to first child ( temp float) 2390:119 'f' ( temp float) 2400:119 Constant: 2410:119 1.444000 2420:120 move second child to first child ( temp float) 2430:120 'f' ( temp float) 2440:120 direct index ( temp float) 2450:120 Construct vec4 ( temp 4-component vector of float) 2460:120 Test condition and select ( temp float) 2470:120 Condition 2480:120 Compare Less Than ( temp bool) 2490:120 direct index ( temp float) 2500:120 'inv' ( smooth in 4-component vector of float) 2510:120 Constant: 2520:120 0 (const int) 2530:120 Constant: 2540:120 2.400000 2550:120 true case 2560:120 Constant: 2570:120 -1.000000 2580:120 false case 2590:120 Constant: 2600:120 1.000000 2610:120 Constant: 2620:120 3 (const int) 2630:129 Function Definition: foo3( ( global void) 2640:129 Function Parameters: 2650:131 Sequence 2660:131 Sequence 2670:131 move second child to first child ( temp 3X2 matrix of float) 2680:131 'r32' ( temp 3X2 matrix of float) 2690:131 Constant: 2700:131 43.000000 2710:131 64.000000 2720:131 51.000000 2730:131 76.000000 2740:131 59.000000 2750:131 88.000000 2760:141 Function Definition: foo4( ( global void) 2770:141 Function Parameters: 2780:143 Sequence 2790:143 Sequence 2800:143 move second child to first child ( temp int) 2810:143 'a' ( temp int) 2820:143 Constant: 2830:143 9 (const int) 2840:? Linker Objects 2850:? 'a' ( const int) 2860:? 1 (const int) 2870:? 'b' ( const int) 2880:? 2 (const int) 2890:? 'c' ( const int) 2900:? 3 (const int) 2910:? 'd' ( const int) 2920:? 2 (const int) 2930:? 'e' ( const float) 2940:? 2.000000 2950:? 'f' ( const float) 2960:? 6.000000 2970:? 'g' ( const float) 2980:? 3.000000 2990:? 'pytho' ( const 2-component vector of float) 3000:? 3.000000 3010:? 4.000000 3020:? 'inv' ( smooth in 4-component vector of float) 3030:? 'FragColor' ( out 4-component vector of float) 3040:? 'out2' ( out 2-component vector of float) 3050:? 'out3' ( out 4-component vector of float) 3060:? 'out4' ( out 4-component vector of float) 3070:? 'out5' ( out 4-component vector of int) 3080:? 'out6' ( out 3-component vector of float) 3090:? 'out7' ( out 4-component vector of float) 3100:? 'out8' ( out 4-component vector of float) 3110:? 'out9' ( out 4-component vector of float) 3120:? 'out10' ( out 4-component vector of float) 3130:? 'out11' ( out 4-component vector of float) 3140:? 'out12' ( out 2-component vector of int) 3150:? 'out13' ( out 3-component vector of uint) 3160:? 's' ( const structure{ global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m}) 3170:? 3.000000 3180:? 3.000000 3190:? 3.000000 3200:? 3 (const int) 3210:? 3 (const int) 3220:? 1.000000 3230:? 2.000000 3240:? 3.000000 3250:? 4.000000 3260:? 5.000000 3270:? 6.000000 3280:? 7.000000 3290:? 8.000000 3300:? 'm2' ( const 2X2 matrix of float) 3310:? 2.000000 3320:? 3.000000 3330:? 4.000000 3340:? 5.000000 3350:? 'm3' ( const 3X3 matrix of float) 3360:? 2.000000 3370:? 3.000000 3380:? 0.000000 3390:? 4.000000 3400:? 5.000000 3410:? 0.000000 3420:? 0.000000 3430:? 0.000000 3440:? 1.000000 3450:? 'mc' ( const int) 3460:? 1 (const int) 3470:? 'a1' ( global 1-element array of float) 3480:? 'a2' ( global 2-element array of float) 3490:? 'a3' ( global 4-element array of float) 3500:? 'v2' ( const 2-component vector of float) 3510:? 1.000000 3520:? 2.000000 3530:? 'v3' ( const 3-component vector of float) 3540:? 3.000000 3550:? 4.000000 3560:? 5.000000 3570:? 'a4' ( global 2-element array of float) 3580:? 'mm2' ( const 2X2 matrix of float) 3590:? 1.000000 3600:? 2.000000 3610:? 3.000000 3620:? 4.000000 3630:? 'mm32' ( const 3X2 matrix of float) 3640:? 10.000000 3650:? 11.000000 3660:? 12.000000 3670:? 13.000000 3680:? 14.000000 3690:? 15.000000 3700:? 'm22' ( const 2X2 matrix of float) 3710:? 1.000000 3720:? 2.000000 3730:? 3.000000 3740:? 4.000000 3750:? 'mm34' ( const 3X4 matrix of float) 3760:? 7.000000 3770:? 0.000000 3780:? 0.000000 3790:? 0.000000 3800:? 0.000000 3810:? 7.000000 3820:? 0.000000 3830:? 0.000000 3840:? 0.000000 3850:? 0.000000 3860:? 7.000000 3870:? 0.000000 3880:? 'mv4' ( const 4-component vector of float) 3890:? 1.000000 3900:? 2.000000 3910:? 3.000000 3920:? 4.000000 3930:? 'a0' ( const 3-element array of structure{ global int i, global float f, global bool b}) 3940:? 3 (const int) 3950:? 2.000000 3960:? true (const bool) 3970:? 1 (const int) 3980:? 5.000000 3990:? true (const bool) 4000:? 1 (const int) 4010:? 9.000000 4020:? false (const bool) 4030:? 'cval1' ( const bool) 4040:? true (const bool) 4050:? 'cval2' ( const bool) 4060:? false (const bool) 4070:? 'cval3' ( const bool) 4080:? false (const bool) 4090:? 'cval4' ( const bool) 4100:? true (const bool) 4110:? 'cval5' ( const bool) 4120:? false (const bool) 4130:? 'cval6' ( const bool) 4140:? true (const bool) 415 416 417Linked fragment stage: 418 419 420Shader version: 430 421ERROR: node is still EOpNull! 4220:28 Function Definition: main( ( global void) 4230:28 Function Parameters: 4240:30 Sequence 4250:30 Sequence 4260:30 move second child to first child ( temp 4-component vector of float) 4270:30 'dx' ( temp 4-component vector of float) 4280:30 dPdx ( global 4-component vector of float) 4290:30 'inv' ( smooth in 4-component vector of float) 4300:37 move second child to first child ( temp 4-component vector of float) 4310:37 'FragColor' ( out 4-component vector of float) 4320:37 Constant: 4330:37 2.000000 4340:37 6.000000 4350:37 3.000000 4360:37 171.887339 4370:42 move second child to first child ( temp 4-component vector of float) 4380:42 'FragColor' ( out 4-component vector of float) 4390:42 Constant: 4400:42 3.000000 4410:42 2.000000 4420:42 0.001593 4430:42 -0.999999 4440:43 move second child to first child ( temp 2-component vector of float) 4450:43 'out2' ( out 2-component vector of float) 4460:43 Constant: 4470:43 5.600000 4480:43 5.800000 4490:44 move second child to first child ( temp 4-component vector of float) 4500:44 'out3' ( out 4-component vector of float) 4510:44 Constant: 4520:44 20.085537 4530:44 2.302585 4540:44 16.000000 4550:44 8.000000 4560:45 move second child to first child ( temp 4-component vector of float) 4570:45 'out4' ( out 4-component vector of float) 4580:45 Constant: 4590:45 10.000000 4600:45 0.100000 4610:45 4.700000 4620:45 10.900000 4630:46 move second child to first child ( temp 4-component vector of int) 4640:46 'out5' ( out 4-component vector of int) 4650:46 Constant: 4660:46 8 (const int) 4670:46 17 (const int) 4680:46 -1 (const int) 4690:46 1 (const int) 4700:47 move second child to first child ( temp 3-component vector of float) 4710:47 'out6' ( out 3-component vector of float) 4720:47 Constant: 4730:47 -1.000000 4740:47 1.000000 4750:47 0.000000 4760:48 move second child to first child ( temp 4-component vector of float) 4770:48 'out7' ( out 4-component vector of float) 4780:48 Constant: 4790:48 4.000000 4800:48 -4.000000 4810:48 5.000000 4820:48 -5.000000 4830:49 move second child to first child ( temp 4-component vector of float) 4840:49 'out8' ( out 4-component vector of float) 4850:49 Constant: 4860:49 4.000000 4870:49 5.000000 4880:49 4.000000 4890:49 -6.000000 4900:50 move second child to first child ( temp 4-component vector of float) 4910:50 'out9' ( out 4-component vector of float) 4920:50 Constant: 4930:50 8.000000 4940:50 -4.000000 4950:50 0.345000 4960:50 0.400000 4970:51 move second child to first child ( temp 4-component vector of float) 4980:51 'out10' ( out 4-component vector of float) 4990:51 Constant: 5000:51 1.000000 5010:51 1.000000 5020:51 0.000000 5030:51 0.000000 5040:52 move second child to first child ( temp 4-component vector of float) 5050:52 'out11' ( out 4-component vector of float) 5060:52 Constant: 5070:52 0.000000 5080:52 0.000000 5090:52 1.000000 5100:52 0.000000 5110:53 move second child to first child ( temp 4-component vector of float) 5120:53 'out11' ( out 4-component vector of float) 5130:53 Constant: 5140:53 1.029639 5150:53 0.799690 5160:53 0.674741 5170:53 1.570696 5180:54 move second child to first child ( temp 4-component vector of float) 5190:54 'out11' ( out 4-component vector of float) 5200:54 Constant: 5210:54 0.000000 5220:54 0.523599 5230:54 1.570796 5240:54 1.047198 5250:58 move second child to first child ( temp 4-component vector of float) 5260:58 'out11' ( out 4-component vector of float) 5270:58 Constant: 5280:58 1.373401 5290:58 0.000000 5300:58 0.896055 5310:58 -0.380506 5320:62 move second child to first child ( temp 2-component vector of int) 5330:62 'out12' ( out 2-component vector of int) 5340:62 Constant: 5350:62 15 (const int) 5360:62 16 (const int) 5370:63 move second child to first child ( temp 2-component vector of int) 5380:63 'out12' ( out 2-component vector of int) 5390:63 Constant: 5400:63 17 (const int) 5410:63 17 (const int) 5420:64 move second child to first child ( temp 2-component vector of float) 5430:64 'out2' ( out 2-component vector of float) 5440:64 Constant: 5450:64 871.421253 5460:64 4913.000000 5470:65 move second child to first child ( temp 3-component vector of uint) 5480:65 'out13' ( out 3-component vector of uint) 5490:65 Constant: 5500:65 10 (const uint) 5510:65 20 (const uint) 5520:65 30 (const uint) 5530:66 move second child to first child ( temp 2-component vector of float) 5540:66 'out2' ( out 2-component vector of float) 5550:66 Constant: 5560:66 3.000000 5570:66 6.000000 5580:67 move second child to first child ( temp 2-component vector of float) 5590:67 'out2' ( out 2-component vector of float) 5600:67 Constant: 5610:67 3.500000 5620:67 4.500000 5630:68 move second child to first child ( temp 2-component vector of float) 5640:68 'out2' ( out 2-component vector of float) 5650:68 Constant: 5660:68 0.000000 5670:68 1.000000 5680:69 move second child to first child ( temp 4-component vector of float) 5690:69 'out11' ( out 4-component vector of float) 5700:69 Constant: 5710:69 0.000000 5720:69 0.028000 5730:69 0.500000 5740:69 1.000000 5750:? Linker Objects 5760:? 'a' ( const int) 5770:? 1 (const int) 5780:? 'b' ( const int) 5790:? 2 (const int) 5800:? 'c' ( const int) 5810:? 3 (const int) 5820:? 'd' ( const int) 5830:? 2 (const int) 5840:? 'e' ( const float) 5850:? 2.000000 5860:? 'f' ( const float) 5870:? 6.000000 5880:? 'g' ( const float) 5890:? 3.000000 5900:? 'pytho' ( const 2-component vector of float) 5910:? 3.000000 5920:? 4.000000 5930:? 'inv' ( smooth in 4-component vector of float) 5940:? 'FragColor' ( out 4-component vector of float) 5950:? 'out2' ( out 2-component vector of float) 5960:? 'out3' ( out 4-component vector of float) 5970:? 'out4' ( out 4-component vector of float) 5980:? 'out5' ( out 4-component vector of int) 5990:? 'out6' ( out 3-component vector of float) 6000:? 'out7' ( out 4-component vector of float) 6010:? 'out8' ( out 4-component vector of float) 6020:? 'out9' ( out 4-component vector of float) 6030:? 'out10' ( out 4-component vector of float) 6040:? 'out11' ( out 4-component vector of float) 6050:? 'out12' ( out 2-component vector of int) 6060:? 'out13' ( out 3-component vector of uint) 6070:? 's' ( const structure{ global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m}) 6080:? 3.000000 6090:? 3.000000 6100:? 3.000000 6110:? 3 (const int) 6120:? 3 (const int) 6130:? 1.000000 6140:? 2.000000 6150:? 3.000000 6160:? 4.000000 6170:? 5.000000 6180:? 6.000000 6190:? 7.000000 6200:? 8.000000 6210:? 'm2' ( const 2X2 matrix of float) 6220:? 2.000000 6230:? 3.000000 6240:? 4.000000 6250:? 5.000000 6260:? 'm3' ( const 3X3 matrix of float) 6270:? 2.000000 6280:? 3.000000 6290:? 0.000000 6300:? 4.000000 6310:? 5.000000 6320:? 0.000000 6330:? 0.000000 6340:? 0.000000 6350:? 1.000000 6360:? 'mc' ( const int) 6370:? 1 (const int) 6380:? 'a1' ( global 1-element array of float) 6390:? 'a2' ( global 2-element array of float) 6400:? 'a3' ( global 4-element array of float) 6410:? 'v2' ( const 2-component vector of float) 6420:? 1.000000 6430:? 2.000000 6440:? 'v3' ( const 3-component vector of float) 6450:? 3.000000 6460:? 4.000000 6470:? 5.000000 6480:? 'a4' ( global 2-element array of float) 6490:? 'mm2' ( const 2X2 matrix of float) 6500:? 1.000000 6510:? 2.000000 6520:? 3.000000 6530:? 4.000000 6540:? 'mm32' ( const 3X2 matrix of float) 6550:? 10.000000 6560:? 11.000000 6570:? 12.000000 6580:? 13.000000 6590:? 14.000000 6600:? 15.000000 6610:? 'm22' ( const 2X2 matrix of float) 6620:? 1.000000 6630:? 2.000000 6640:? 3.000000 6650:? 4.000000 6660:? 'mm34' ( const 3X4 matrix of float) 6670:? 7.000000 6680:? 0.000000 6690:? 0.000000 6700:? 0.000000 6710:? 0.000000 6720:? 7.000000 6730:? 0.000000 6740:? 0.000000 6750:? 0.000000 6760:? 0.000000 6770:? 7.000000 6780:? 0.000000 6790:? 'mv4' ( const 4-component vector of float) 6800:? 1.000000 6810:? 2.000000 6820:? 3.000000 6830:? 4.000000 6840:? 'a0' ( const 3-element array of structure{ global int i, global float f, global bool b}) 6850:? 3 (const int) 6860:? 2.000000 6870:? true (const bool) 6880:? 1 (const int) 6890:? 5.000000 6900:? true (const bool) 6910:? 1 (const int) 6920:? 9.000000 6930:? false (const bool) 6940:? 'cval1' ( const bool) 6950:? true (const bool) 6960:? 'cval2' ( const bool) 6970:? false (const bool) 6980:? 'cval3' ( const bool) 6990:? false (const bool) 7000:? 'cval4' ( const bool) 7010:? true (const bool) 7020:? 'cval5' ( const bool) 7030:? false (const bool) 7040:? 'cval6' ( const bool) 7050:? true (const bool) 706 707