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