1specExamples.frag 2ERROR: 0:6: '=' : cannot convert from ' const uint' to ' global int' 3ERROR: 0:20: '' : numeric literal too big 4ERROR: 0:21: '' : hexadecimal literal too big 5ERROR: 0:37: 'view' : redefinition 6ERROR: 0:63: 'invariant' : can only apply to an output 7ERROR: 0:68: 'lightPosition' : redefinition 8ERROR: 0:75: 'Atten' : member storage qualifier cannot contradict block storage qualifier 9ERROR: 0:87: 'Color' : redefinition 10ERROR: 0:92: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord 11ERROR: 0:93: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord 12ERROR: 0:99: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 13ERROR: 0:99: 'local_size_y' : there is no such layout identifier for this stage taking an assigned value 14ERROR: 0:100: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 15ERROR: 0:102: 'color' : redefinition 16ERROR: 0:112: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth 17ERROR: 0:118: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth 18ERROR: 0:121: 'redeclaration' : all redeclarations must use the same depth layout on gl_FragDepth 19ERROR: 0:123: 'gl_Color' : identifiers starting with "gl_" are reserved 20ERROR: 0:172: 'x' : undeclared identifier 21ERROR: 0:172: '[]' : scalar integer expression required 22ERROR: 0:175: 'x' : undeclared identifier 23ERROR: 0:175: '[]' : scalar integer expression required 24ERROR: 0:175: 'b' : left of '[' is not of type array, matrix, or vector 25ERROR: 0:175: 'a' : vector swizzle selection out of range 26ERROR: 0:175: 'length' : does not operate on this type: const float 27ERROR: 0:175: '' : function call, method, or subroutine call expected 28ERROR: 0:175: '' : no matching overloaded function found 29ERROR: 0:178: '[]' : scalar integer expression required 30ERROR: 0:178: 's' : undeclared identifier 31ERROR: 0:178: 's' : left of '[' is not of type array, matrix, or vector 32ERROR: 0:178: 'a' : vector swizzle selection out of range 33ERROR: 0:178: 'length' : does not operate on this type: const float 34ERROR: 0:178: '' : function call, method, or subroutine call expected 35ERROR: 0:178: '' : no matching overloaded function found 36ERROR: 0:198: 'e' : redefinition 37ERROR: 0:226: 'in' : not allowed in nested scope 38ERROR: 0:227: 'in' : not allowed in nested scope 39ERROR: 0:228: 'in' : not allowed in nested scope 40ERROR: 0:232: 'out' : not allowed in nested scope 41ERROR: 39 compilation errors. No code generated. 42 43 44Shader version: 430 45Requested GL_3DL_array_objects 46gl_FragCoord pixel center is integer 47gl_FragCoord origin is upper left 48using early_fragment_tests 49using depth_greater 50ERROR: node is still EOpNull! 510:5 Sequence 520:5 move second child to first child ( temp int) 530:5 'a' ( global int) 540:5 Constant: 550:5 -1 (const int) 560:7 Sequence 570:7 move second child to first child ( temp uint) 580:7 'c' ( global uint) 590:7 Constant: 600:7 4294967295 (const uint) 610:8 Sequence 620:8 move second child to first child ( temp uint) 630:8 'd' ( global uint) 640:8 Constant: 650:8 4294967295 (const uint) 660:9 Sequence 670:9 move second child to first child ( temp int) 680:9 'e' ( global int) 690:9 Constant: 700:9 -1 (const int) 710:13 Sequence 720:13 move second child to first child ( temp uint) 730:13 'f' ( global uint) 740:13 Constant: 750:13 4294967295 (const uint) 760:17 Sequence 770:17 move second child to first child ( temp int) 780:17 'g' ( global int) 790:17 Constant: 800:17 -1294967296 (const int) 810:19 Sequence 820:19 move second child to first child ( temp int) 830:19 'h' ( global int) 840:19 Constant: 850:19 -1610612736 (const int) 860:20 Sequence 870:20 move second child to first child ( temp int) 880:20 'i' ( global int) 890:20 Constant: 900:20 -1 (const int) 910:21 Sequence 920:21 move second child to first child ( temp int) 930:21 'j' ( global int) 940:21 Constant: 950:21 -1 (const int) 960:22 Sequence 970:22 move second child to first child ( temp int) 980:22 'k' ( global int) 990:22 Constant: 1000:22 -2147483648 (const int) 1010:23 Sequence 1020:23 move second child to first child ( temp int) 1030:23 'l' ( global int) 1040:23 Constant: 1050:23 -2147483648 (const int) 1060:25 Sequence 1070:25 move second child to first child ( temp float) 1080:25 'fb' ( global float) 1090:25 Constant: 1100:25 1.500000 1110:26 Sequence 1120:26 move second child to first child ( temp double) 1130:26 'fd' ( global double) 1140:26 Constant: 1150:26 2.000000 1160:127 Function Definition: foo(f1[5]; ( global 5-element array of float) 1170:127 Function Parameters: 1180:127 '' ( in 5-element array of float) 1190:129 Sequence 1200:129 Branch: Return with expression 1210:129 Constant: 1220:129 3.400000 1230:129 4.200000 1240:129 5.000000 1250:129 5.200000 1260:129 1.100000 1270:137 Function Definition: main( ( global void) 1280:137 Function Parameters: 1290:140 Sequence 1300:140 Sequence 1310:140 Sequence 1320:140 move second child to first child ( temp 5-element array of float) 1330:140 'a' ( temp 5-element array of float) 1340:140 Constant: 1350:140 3.400000 1360:140 4.200000 1370:140 5.000000 1380:140 5.200000 1390:140 1.100000 1400:143 Sequence 1410:143 Sequence 1420:143 move second child to first child ( temp 5-element array of float) 1430:143 'a' ( temp 5-element array of float) 1440:143 Constant: 1450:143 3.400000 1460:143 4.200000 1470:143 5.000000 1480:143 5.200000 1490:143 1.100000 1500:? Sequence 1510:149 Sequence 1520:149 move second child to first child ( temp 2-element array of 4-component vector of float) 1530:149 'b' ( temp 2-element array of 4-component vector of float) 1540:149 Constant: 1550:149 0.000000 1560:149 0.000000 1570:149 0.000000 1580:149 0.000000 1590:149 0.100000 1600:149 0.100000 1610:149 0.100000 1620:149 0.100000 1630:150 Sequence 1640:150 move second child to first child ( temp 3-element array of 2-element array of 4-component vector of float) 1650:150 'a3' ( temp 3-element array of 2-element array of 4-component vector of float) 1660:150 Construct vec4 ( temp 3-element array of 2-element array of 4-component vector of float) 1670:150 'b' ( temp 2-element array of 4-component vector of float) 1680:150 'b' ( temp 2-element array of 4-component vector of float) 1690:150 'b' ( temp 2-element array of 4-component vector of float) 1700:152 Sequence 1710:152 move second child to first child ( temp 3-element array of 2-element array of 4-component vector of float) 1720:152 'a4' ( temp 3-element array of 2-element array of 4-component vector of float) 1730:152 Constant: 1740:152 0.000000 1750:152 0.000000 1760:152 0.000000 1770:152 0.000000 1780:152 1.000000 1790:152 1.000000 1800:152 1.000000 1810:152 1.000000 1820:152 0.000000 1830:152 0.000000 1840:152 0.000000 1850:152 0.000000 1860:152 1.000000 1870:152 1.000000 1880:152 1.000000 1890:152 1.000000 1900:152 0.000000 1910:152 0.000000 1920:152 0.000000 1930:152 0.000000 1940:152 1.000000 1950:152 1.000000 1960:152 1.000000 1970:152 1.000000 1980:? Sequence 1990:159 Sequence 2000:159 Sequence 2010:159 move second child to first child ( temp 5-element array of float) 2020:159 'b' ( temp 5-element array of float) 2030:159 'a' ( temp 5-element array of float) 2040:162 Sequence 2050:162 Sequence 2060:162 move second child to first child ( temp 5-element array of float) 2070:162 'b' ( temp 5-element array of float) 2080:162 'a' ( temp 5-element array of float) 2090:165 Sequence 2100:165 Sequence 2110:165 move second child to first child ( temp 5-element array of float) 2120:165 'b' ( temp 5-element array of float) 2130:165 Constant: 2140:165 1.000000 2150:165 2.000000 2160:165 3.000000 2170:165 4.000000 2180:165 5.000000 2190:167 Constant: 2200:167 5 (const int) 2210:? Sequence 2220:171 Constant: 2230:171 3 (const int) 2240:172 Constant: 2250:172 2 (const int) 2260:175 Constant: 2270:175 0.000000 2280:178 Constant: 2290:178 0.000000 2300:193 Sequence 2310:193 move second child to first child ( temp structure{ temp float a, temp int b}) 2320:193 'e' ( temp structure{ temp float a, temp int b}) 2330:193 Constant: 2340:193 1.200000 2350:193 2 (const int) 2360:216 Sequence 2370:216 Sequence 2380:216 move second child to first child ( temp 5-element array of float) 2390:216 'a' ( temp 5-element array of float) 2400:216 Constant: 2410:216 3.400000 2420:216 4.200000 2430:216 5.000000 2440:216 5.200000 2450:216 1.100000 2460:217 Sequence 2470:217 move second child to first child ( temp 5-element array of float) 2480:217 'b' ( temp 5-element array of float) 2490:217 Constant: 2500:217 3.400000 2510:217 4.200000 2520:217 5.000000 2530:217 5.200000 2540:217 1.100000 2550:218 Sequence 2560:218 move second child to first child ( temp 5-element array of float) 2570:218 'c' ( temp 5-element array of float) 2580:218 'a' ( temp 5-element array of float) 2590:219 Sequence 2600:219 move second child to first child ( temp 5-element array of float) 2610:219 'd' ( temp 5-element array of float) 2620:219 'b' ( temp 5-element array of float) 2630:? Sequence 2640:223 Sequence 2650:223 move second child to first child ( temp float) 2660:223 'ceiling' ( const (read only) float) 2670:223 Convert int to float ( temp float) 2680:223 add ( temp int) 2690:223 'a' ( global int) 2700:223 'b' ( global int) 2710:? Linker Objects 2720:? 'a' ( global int) 2730:? 'b' ( global int) 2740:? 'c' ( global uint) 2750:? 'd' ( global uint) 2760:? 'e' ( global int) 2770:? 'f' ( global uint) 2780:? 'g' ( global int) 2790:? 'h' ( global int) 2800:? 'i' ( global int) 2810:? 'j' ( global int) 2820:? 'k' ( global int) 2830:? 'l' ( global int) 2840:? 'fa' ( global float) 2850:? 'fb' ( global float) 2860:? 'fc' ( global double) 2870:? 'fd' ( global double) 2880:? 'texcoord1' ( global 2-component vector of float) 2890:? 'texcoord2' ( global 2-component vector of float) 2900:? 'position' ( global 3-component vector of float) 2910:? 'myRGBA' ( global 4-component vector of float) 2920:? 'textureLookup' ( global 2-component vector of int) 2930:? 'less' ( global 3-component vector of bool) 2940:? 'mat2D' ( global 2X2 matrix of float) 2950:? 'optMatrix' ( global 3X3 matrix of float) 2960:? 'view' ( global 4X4 matrix of float) 2970:? 'projection' ( global 4X4 matrix of float) 2980:? 'm' ( global 3X2 matrix of float) 2990:? 'highPrecisionMVP' ( global 4X4 matrix of double) 3000:? 'dm' ( global 2X4 matrix of double) 3010:? 'lightVar' ( global structure{ global float intensity, global 3-component vector of float position}) 3020:? 'frequencies' ( global 3-element array of float) 3030:? 'lightPosition' ( uniform 4-element array of 4-component vector of float) 3040:? 'lights' ( global 2-element array of structure{ global float intensity, global 3-component vector of float position}) 3050:? 'numLights' ( const int) 3060:? 2 (const int) 3070:? 'normal' ( smooth in 3-component vector of float) 3080:? 'TexCoord' ( centroid smooth in 2-component vector of float) 3090:? 'Color' ( invariant centroid smooth in 4-component vector of float) 3100:? 'temperature' ( noperspective in float) 3110:? 'myColor' ( flat in 3-component vector of float) 3120:? 'myTexCoord' ( centroid noperspective in 2-component vector of float) 3130:? 'color' ( uniform 3-component vector of float) 3140:? 0.700000 3150:? 0.700000 3160:? 0.200000 3170:? 'anon@0' ( in block{ smooth in 4-component vector of float Color1, smooth in 4-component vector of float Color2, in 2-component vector of float TexCoordA, in float Atten}) 3180:? 'anon@1' ( in block{ in 4-component vector of float LightPos, in 3-component vector of float LightColor}) 3190:? 'Materiala' ( in block{ in 4-component vector of float Color, in 2-component vector of float TexCoord}) 3200:? 'gl_FragCoord' ( gl_FragCoord 4-component vector of float FragCoord) 3210:? 'factor' (layout( location=3 index=1) out 4-component vector of float) 3220:? 'colors' (layout( location=2) out 3-element array of 4-component vector of float) 3230:? 'gl_FragDepth' ( gl_FragDepth float FragDepth) 3240:? 'gl_Color' ( flat in 4-component vector of float) 325 326 327Linked fragment stage: 328 329 330Shader version: 430 331Requested GL_3DL_array_objects 332gl_FragCoord pixel center is integer 333gl_FragCoord origin is upper left 334using early_fragment_tests 335using depth_greater 336ERROR: node is still EOpNull! 3370:5 Sequence 3380:5 move second child to first child ( temp int) 3390:5 'a' ( global int) 3400:5 Constant: 3410:5 -1 (const int) 3420:7 Sequence 3430:7 move second child to first child ( temp uint) 3440:7 'c' ( global uint) 3450:7 Constant: 3460:7 4294967295 (const uint) 3470:8 Sequence 3480:8 move second child to first child ( temp uint) 3490:8 'd' ( global uint) 3500:8 Constant: 3510:8 4294967295 (const uint) 3520:9 Sequence 3530:9 move second child to first child ( temp int) 3540:9 'e' ( global int) 3550:9 Constant: 3560:9 -1 (const int) 3570:13 Sequence 3580:13 move second child to first child ( temp uint) 3590:13 'f' ( global uint) 3600:13 Constant: 3610:13 4294967295 (const uint) 3620:17 Sequence 3630:17 move second child to first child ( temp int) 3640:17 'g' ( global int) 3650:17 Constant: 3660:17 -1294967296 (const int) 3670:19 Sequence 3680:19 move second child to first child ( temp int) 3690:19 'h' ( global int) 3700:19 Constant: 3710:19 -1610612736 (const int) 3720:20 Sequence 3730:20 move second child to first child ( temp int) 3740:20 'i' ( global int) 3750:20 Constant: 3760:20 -1 (const int) 3770:21 Sequence 3780:21 move second child to first child ( temp int) 3790:21 'j' ( global int) 3800:21 Constant: 3810:21 -1 (const int) 3820:22 Sequence 3830:22 move second child to first child ( temp int) 3840:22 'k' ( global int) 3850:22 Constant: 3860:22 -2147483648 (const int) 3870:23 Sequence 3880:23 move second child to first child ( temp int) 3890:23 'l' ( global int) 3900:23 Constant: 3910:23 -2147483648 (const int) 3920:25 Sequence 3930:25 move second child to first child ( temp float) 3940:25 'fb' ( global float) 3950:25 Constant: 3960:25 1.500000 3970:26 Sequence 3980:26 move second child to first child ( temp double) 3990:26 'fd' ( global double) 4000:26 Constant: 4010:26 2.000000 4020:137 Function Definition: main( ( global void) 4030:137 Function Parameters: 4040:140 Sequence 4050:140 Sequence 4060:140 Sequence 4070:140 move second child to first child ( temp 5-element array of float) 4080:140 'a' ( temp 5-element array of float) 4090:140 Constant: 4100:140 3.400000 4110:140 4.200000 4120:140 5.000000 4130:140 5.200000 4140:140 1.100000 4150:143 Sequence 4160:143 Sequence 4170:143 move second child to first child ( temp 5-element array of float) 4180:143 'a' ( temp 5-element array of float) 4190:143 Constant: 4200:143 3.400000 4210:143 4.200000 4220:143 5.000000 4230:143 5.200000 4240:143 1.100000 4250:? Sequence 4260:149 Sequence 4270:149 move second child to first child ( temp 2-element array of 4-component vector of float) 4280:149 'b' ( temp 2-element array of 4-component vector of float) 4290:149 Constant: 4300:149 0.000000 4310:149 0.000000 4320:149 0.000000 4330:149 0.000000 4340:149 0.100000 4350:149 0.100000 4360:149 0.100000 4370:149 0.100000 4380:150 Sequence 4390:150 move second child to first child ( temp 3-element array of 2-element array of 4-component vector of float) 4400:150 'a3' ( temp 3-element array of 2-element array of 4-component vector of float) 4410:150 Construct vec4 ( temp 3-element array of 2-element array of 4-component vector of float) 4420:150 'b' ( temp 2-element array of 4-component vector of float) 4430:150 'b' ( temp 2-element array of 4-component vector of float) 4440:150 'b' ( temp 2-element array of 4-component vector of float) 4450:152 Sequence 4460:152 move second child to first child ( temp 3-element array of 2-element array of 4-component vector of float) 4470:152 'a4' ( temp 3-element array of 2-element array of 4-component vector of float) 4480:152 Constant: 4490:152 0.000000 4500:152 0.000000 4510:152 0.000000 4520:152 0.000000 4530:152 1.000000 4540:152 1.000000 4550:152 1.000000 4560:152 1.000000 4570:152 0.000000 4580:152 0.000000 4590:152 0.000000 4600:152 0.000000 4610:152 1.000000 4620:152 1.000000 4630:152 1.000000 4640:152 1.000000 4650:152 0.000000 4660:152 0.000000 4670:152 0.000000 4680:152 0.000000 4690:152 1.000000 4700:152 1.000000 4710:152 1.000000 4720:152 1.000000 4730:? Sequence 4740:159 Sequence 4750:159 Sequence 4760:159 move second child to first child ( temp 5-element array of float) 4770:159 'b' ( temp 5-element array of float) 4780:159 'a' ( temp 5-element array of float) 4790:162 Sequence 4800:162 Sequence 4810:162 move second child to first child ( temp 5-element array of float) 4820:162 'b' ( temp 5-element array of float) 4830:162 'a' ( temp 5-element array of float) 4840:165 Sequence 4850:165 Sequence 4860:165 move second child to first child ( temp 5-element array of float) 4870:165 'b' ( temp 5-element array of float) 4880:165 Constant: 4890:165 1.000000 4900:165 2.000000 4910:165 3.000000 4920:165 4.000000 4930:165 5.000000 4940:167 Constant: 4950:167 5 (const int) 4960:? Sequence 4970:171 Constant: 4980:171 3 (const int) 4990:172 Constant: 5000:172 2 (const int) 5010:175 Constant: 5020:175 0.000000 5030:178 Constant: 5040:178 0.000000 5050:193 Sequence 5060:193 move second child to first child ( temp structure{ temp float a, temp int b}) 5070:193 'e' ( temp structure{ temp float a, temp int b}) 5080:193 Constant: 5090:193 1.200000 5100:193 2 (const int) 5110:216 Sequence 5120:216 Sequence 5130:216 move second child to first child ( temp 5-element array of float) 5140:216 'a' ( temp 5-element array of float) 5150:216 Constant: 5160:216 3.400000 5170:216 4.200000 5180:216 5.000000 5190:216 5.200000 5200:216 1.100000 5210:217 Sequence 5220:217 move second child to first child ( temp 5-element array of float) 5230:217 'b' ( temp 5-element array of float) 5240:217 Constant: 5250:217 3.400000 5260:217 4.200000 5270:217 5.000000 5280:217 5.200000 5290:217 1.100000 5300:218 Sequence 5310:218 move second child to first child ( temp 5-element array of float) 5320:218 'c' ( temp 5-element array of float) 5330:218 'a' ( temp 5-element array of float) 5340:219 Sequence 5350:219 move second child to first child ( temp 5-element array of float) 5360:219 'd' ( temp 5-element array of float) 5370:219 'b' ( temp 5-element array of float) 5380:? Sequence 5390:223 Sequence 5400:223 move second child to first child ( temp float) 5410:223 'ceiling' ( const (read only) float) 5420:223 Convert int to float ( temp float) 5430:223 add ( temp int) 5440:223 'a' ( global int) 5450:223 'b' ( global int) 5460:? Linker Objects 5470:? 'a' ( global int) 5480:? 'b' ( global int) 5490:? 'c' ( global uint) 5500:? 'd' ( global uint) 5510:? 'e' ( global int) 5520:? 'f' ( global uint) 5530:? 'g' ( global int) 5540:? 'h' ( global int) 5550:? 'i' ( global int) 5560:? 'j' ( global int) 5570:? 'k' ( global int) 5580:? 'l' ( global int) 5590:? 'fa' ( global float) 5600:? 'fb' ( global float) 5610:? 'fc' ( global double) 5620:? 'fd' ( global double) 5630:? 'texcoord1' ( global 2-component vector of float) 5640:? 'texcoord2' ( global 2-component vector of float) 5650:? 'position' ( global 3-component vector of float) 5660:? 'myRGBA' ( global 4-component vector of float) 5670:? 'textureLookup' ( global 2-component vector of int) 5680:? 'less' ( global 3-component vector of bool) 5690:? 'mat2D' ( global 2X2 matrix of float) 5700:? 'optMatrix' ( global 3X3 matrix of float) 5710:? 'view' ( global 4X4 matrix of float) 5720:? 'projection' ( global 4X4 matrix of float) 5730:? 'm' ( global 3X2 matrix of float) 5740:? 'highPrecisionMVP' ( global 4X4 matrix of double) 5750:? 'dm' ( global 2X4 matrix of double) 5760:? 'lightVar' ( global structure{ global float intensity, global 3-component vector of float position}) 5770:? 'frequencies' ( global 3-element array of float) 5780:? 'lightPosition' ( uniform 4-element array of 4-component vector of float) 5790:? 'lights' ( global 2-element array of structure{ global float intensity, global 3-component vector of float position}) 5800:? 'numLights' ( const int) 5810:? 2 (const int) 5820:? 'normal' ( smooth in 3-component vector of float) 5830:? 'TexCoord' ( centroid smooth in 2-component vector of float) 5840:? 'Color' ( invariant centroid smooth in 4-component vector of float) 5850:? 'temperature' ( noperspective in float) 5860:? 'myColor' ( flat in 3-component vector of float) 5870:? 'myTexCoord' ( centroid noperspective in 2-component vector of float) 5880:? 'color' ( uniform 3-component vector of float) 5890:? 0.700000 5900:? 0.700000 5910:? 0.200000 5920:? 'anon@0' ( in block{ smooth in 4-component vector of float Color1, smooth in 4-component vector of float Color2, in 2-component vector of float TexCoordA, in float Atten}) 5930:? 'anon@1' ( in block{ in 4-component vector of float LightPos, in 3-component vector of float LightColor}) 5940:? 'Materiala' ( in block{ in 4-component vector of float Color, in 2-component vector of float TexCoord}) 5950:? 'gl_FragCoord' ( gl_FragCoord 4-component vector of float FragCoord) 5960:? 'factor' (layout( location=3 index=1) out 4-component vector of float) 5970:? 'colors' (layout( location=2) out 3-element array of 4-component vector of float) 5980:? 'gl_FragDepth' ( gl_FragDepth float FragDepth) 5990:? 'gl_Color' ( flat in 4-component vector of float) 600 601