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:126 Function Definition: foo3( ( global void) 2640:126 Function Parameters: 2650:128 Sequence 2660:128 Sequence 2670:128 move second child to first child ( temp 3X2 matrix of float) 2680:128 'r32' ( temp 3X2 matrix of float) 2690:128 Constant: 2700:128 43.000000 2710:128 64.000000 2720:128 51.000000 2730:128 76.000000 2740:128 59.000000 2750:128 88.000000 2760:138 Function Definition: foo4( ( global void) 2770:138 Function Parameters: 2780:140 Sequence 2790:140 Sequence 2800:140 move second child to first child ( temp int) 2810:140 'a' ( temp int) 2820:140 Constant: 2830:140 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:? 'a0' ( const 3-element array of structure{ global int i, global float f, global bool b}) 3710:? 3 (const int) 3720:? 2.000000 3730:? true (const bool) 3740:? 1 (const int) 3750:? 5.000000 3760:? true (const bool) 3770:? 1 (const int) 3780:? 9.000000 3790:? false (const bool) 3800:? 'cval1' ( const bool) 3810:? true (const bool) 3820:? 'cval2' ( const bool) 3830:? false (const bool) 3840:? 'cval3' ( const bool) 3850:? false (const bool) 3860:? 'cval4' ( const bool) 3870:? true (const bool) 3880:? 'cval5' ( const bool) 3890:? false (const bool) 3900:? 'cval6' ( const bool) 3910:? true (const bool) 392 393 394Linked fragment stage: 395 396 397Shader version: 430 398ERROR: node is still EOpNull! 3990:28 Function Definition: main( ( global void) 4000:28 Function Parameters: 4010:30 Sequence 4020:30 Sequence 4030:30 move second child to first child ( temp 4-component vector of float) 4040:30 'dx' ( temp 4-component vector of float) 4050:30 dPdx ( global 4-component vector of float) 4060:30 'inv' ( smooth in 4-component vector of float) 4070:37 move second child to first child ( temp 4-component vector of float) 4080:37 'FragColor' ( out 4-component vector of float) 4090:37 Constant: 4100:37 2.000000 4110:37 6.000000 4120:37 3.000000 4130:37 171.887339 4140:42 move second child to first child ( temp 4-component vector of float) 4150:42 'FragColor' ( out 4-component vector of float) 4160:42 Constant: 4170:42 3.000000 4180:42 2.000000 4190:42 0.001593 4200:42 -0.999999 4210:43 move second child to first child ( temp 2-component vector of float) 4220:43 'out2' ( out 2-component vector of float) 4230:43 Constant: 4240:43 5.600000 4250:43 5.800000 4260:44 move second child to first child ( temp 4-component vector of float) 4270:44 'out3' ( out 4-component vector of float) 4280:44 Constant: 4290:44 20.085537 4300:44 2.302585 4310:44 16.000000 4320:44 8.000000 4330:45 move second child to first child ( temp 4-component vector of float) 4340:45 'out4' ( out 4-component vector of float) 4350:45 Constant: 4360:45 10.000000 4370:45 0.100000 4380:45 4.700000 4390:45 10.900000 4400:46 move second child to first child ( temp 4-component vector of int) 4410:46 'out5' ( out 4-component vector of int) 4420:46 Constant: 4430:46 8 (const int) 4440:46 17 (const int) 4450:46 -1 (const int) 4460:46 1 (const int) 4470:47 move second child to first child ( temp 3-component vector of float) 4480:47 'out6' ( out 3-component vector of float) 4490:47 Constant: 4500:47 -1.000000 4510:47 1.000000 4520:47 0.000000 4530:48 move second child to first child ( temp 4-component vector of float) 4540:48 'out7' ( out 4-component vector of float) 4550:48 Constant: 4560:48 4.000000 4570:48 -4.000000 4580:48 5.000000 4590:48 -5.000000 4600:49 move second child to first child ( temp 4-component vector of float) 4610:49 'out8' ( out 4-component vector of float) 4620:49 Constant: 4630:49 4.000000 4640:49 5.000000 4650:49 4.000000 4660:49 -6.000000 4670:50 move second child to first child ( temp 4-component vector of float) 4680:50 'out9' ( out 4-component vector of float) 4690:50 Constant: 4700:50 8.000000 4710:50 -4.000000 4720:50 0.345000 4730:50 0.400000 4740:51 move second child to first child ( temp 4-component vector of float) 4750:51 'out10' ( out 4-component vector of float) 4760:51 Constant: 4770:51 1.000000 4780:51 1.000000 4790:51 0.000000 4800:51 0.000000 4810:52 move second child to first child ( temp 4-component vector of float) 4820:52 'out11' ( out 4-component vector of float) 4830:52 Constant: 4840:52 0.000000 4850:52 0.000000 4860:52 1.000000 4870:52 0.000000 4880:53 move second child to first child ( temp 4-component vector of float) 4890:53 'out11' ( out 4-component vector of float) 4900:53 Constant: 4910:53 1.029639 4920:53 0.799690 4930:53 0.674741 4940:53 1.570696 4950:54 move second child to first child ( temp 4-component vector of float) 4960:54 'out11' ( out 4-component vector of float) 4970:54 Constant: 4980:54 0.000000 4990:54 0.523599 5000:54 1.570796 5010:54 1.047198 5020:58 move second child to first child ( temp 4-component vector of float) 5030:58 'out11' ( out 4-component vector of float) 5040:58 Constant: 5050:58 1.373401 5060:58 0.000000 5070:58 0.896055 5080:58 -0.380506 5090:62 move second child to first child ( temp 2-component vector of int) 5100:62 'out12' ( out 2-component vector of int) 5110:62 Constant: 5120:62 15 (const int) 5130:62 16 (const int) 5140:63 move second child to first child ( temp 2-component vector of int) 5150:63 'out12' ( out 2-component vector of int) 5160:63 Constant: 5170:63 17 (const int) 5180:63 17 (const int) 5190:64 move second child to first child ( temp 2-component vector of float) 5200:64 'out2' ( out 2-component vector of float) 5210:64 Constant: 5220:64 871.421253 5230:64 4913.000000 5240:65 move second child to first child ( temp 3-component vector of uint) 5250:65 'out13' ( out 3-component vector of uint) 5260:65 Constant: 5270:65 10 (const uint) 5280:65 20 (const uint) 5290:65 30 (const uint) 5300:66 move second child to first child ( temp 2-component vector of float) 5310:66 'out2' ( out 2-component vector of float) 5320:66 Constant: 5330:66 3.000000 5340:66 6.000000 5350:67 move second child to first child ( temp 2-component vector of float) 5360:67 'out2' ( out 2-component vector of float) 5370:67 Constant: 5380:67 3.500000 5390:67 4.500000 5400:68 move second child to first child ( temp 2-component vector of float) 5410:68 'out2' ( out 2-component vector of float) 5420:68 Constant: 5430:68 0.000000 5440:68 1.000000 5450:69 move second child to first child ( temp 4-component vector of float) 5460:69 'out11' ( out 4-component vector of float) 5470:69 Constant: 5480:69 0.000000 5490:69 0.028000 5500:69 0.500000 5510:69 1.000000 5520:? Linker Objects 5530:? 'a' ( const int) 5540:? 1 (const int) 5550:? 'b' ( const int) 5560:? 2 (const int) 5570:? 'c' ( const int) 5580:? 3 (const int) 5590:? 'd' ( const int) 5600:? 2 (const int) 5610:? 'e' ( const float) 5620:? 2.000000 5630:? 'f' ( const float) 5640:? 6.000000 5650:? 'g' ( const float) 5660:? 3.000000 5670:? 'pytho' ( const 2-component vector of float) 5680:? 3.000000 5690:? 4.000000 5700:? 'inv' ( smooth in 4-component vector of float) 5710:? 'FragColor' ( out 4-component vector of float) 5720:? 'out2' ( out 2-component vector of float) 5730:? 'out3' ( out 4-component vector of float) 5740:? 'out4' ( out 4-component vector of float) 5750:? 'out5' ( out 4-component vector of int) 5760:? 'out6' ( out 3-component vector of float) 5770:? 'out7' ( out 4-component vector of float) 5780:? 'out8' ( out 4-component vector of float) 5790:? 'out9' ( out 4-component vector of float) 5800:? 'out10' ( out 4-component vector of float) 5810:? 'out11' ( out 4-component vector of float) 5820:? 'out12' ( out 2-component vector of int) 5830:? 'out13' ( out 3-component vector of uint) 5840:? 's' ( const structure{ global 3-component vector of float v3, global 2-component vector of int iv2, global 2X4 matrix of float m}) 5850:? 3.000000 5860:? 3.000000 5870:? 3.000000 5880:? 3 (const int) 5890:? 3 (const int) 5900:? 1.000000 5910:? 2.000000 5920:? 3.000000 5930:? 4.000000 5940:? 5.000000 5950:? 6.000000 5960:? 7.000000 5970:? 8.000000 5980:? 'm2' ( const 2X2 matrix of float) 5990:? 2.000000 6000:? 3.000000 6010:? 4.000000 6020:? 5.000000 6030:? 'm3' ( const 3X3 matrix of float) 6040:? 2.000000 6050:? 3.000000 6060:? 0.000000 6070:? 4.000000 6080:? 5.000000 6090:? 0.000000 6100:? 0.000000 6110:? 0.000000 6120:? 1.000000 6130:? 'mc' ( const int) 6140:? 1 (const int) 6150:? 'a1' ( global 1-element array of float) 6160:? 'a2' ( global 2-element array of float) 6170:? 'a3' ( global 4-element array of float) 6180:? 'v2' ( const 2-component vector of float) 6190:? 1.000000 6200:? 2.000000 6210:? 'v3' ( const 3-component vector of float) 6220:? 3.000000 6230:? 4.000000 6240:? 5.000000 6250:? 'a4' ( global 2-element array of float) 6260:? 'mm2' ( const 2X2 matrix of float) 6270:? 1.000000 6280:? 2.000000 6290:? 3.000000 6300:? 4.000000 6310:? 'mm32' ( const 3X2 matrix of float) 6320:? 10.000000 6330:? 11.000000 6340:? 12.000000 6350:? 13.000000 6360:? 14.000000 6370:? 15.000000 6380:? 'a0' ( const 3-element array of structure{ global int i, global float f, global bool b}) 6390:? 3 (const int) 6400:? 2.000000 6410:? true (const bool) 6420:? 1 (const int) 6430:? 5.000000 6440:? true (const bool) 6450:? 1 (const int) 6460:? 9.000000 6470:? false (const bool) 6480:? 'cval1' ( const bool) 6490:? true (const bool) 6500:? 'cval2' ( const bool) 6510:? false (const bool) 6520:? 'cval3' ( const bool) 6530:? false (const bool) 6540:? 'cval4' ( const bool) 6550:? true (const bool) 6560:? 'cval5' ( const bool) 6570:? false (const bool) 6580:? 'cval6' ( const bool) 6590:? true (const bool) 660 661