 a4351c55e8
			
		
	
	
		a4351c55e8
		
	
	
	
	
		
			
			- 300 doesn't allow built-in overload, while 100 does, while neither allows redefining - block name can't be reused for block name within the same interface (though, the spec. isn't clear about that, it's easier than verifying member matches, will file bug on it) git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23984 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			298 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			298 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Warning, version 430 is not yet complete; some version-specific features are present, but many are missing.
 | |
| ERROR: 0:6: '=' :  cannot convert from 'const uint' to 'int'
 | |
| ERROR: 0:20: '' : numeric literal too big 
 | |
| ERROR: 0:21: '' : hexidecimal literal too big 
 | |
| ERROR: 0:37: 'view' : redefinition 
 | |
| ERROR: 0:63: 'invariant' : can only apply to an output: Color
 | |
| ERROR: 0:68: 'lightPosition' : redefinition 
 | |
| ERROR: 0:75: 'Atten' : member storage qualifier cannot contradict block storage qualifier 
 | |
| ERROR: 0:87: 'Color' : redefinition 
 | |
| ERROR: 0:92: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
 | |
| ERROR: 0:93: 'redeclaration' : cannot redeclare with different qualification: gl_FragCoord
 | |
| ERROR: 0:96: 'early_fragment_tests' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:99: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
 | |
| ERROR: 0:99: 'local_size_y' : there is no such layout identifier for this stage taking an assigned value 
 | |
| ERROR: 0:100: 'local_size_x' : there is no such layout identifier for this stage taking an assigned value 
 | |
| ERROR: 0:102: 'color' : redefinition 
 | |
| ERROR: 0:103: 'index' : there is no such layout identifier for this stage taking an assigned value 
 | |
| ERROR: 0:106: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:112: 'depth_any' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:115: 'depth_greater' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:118: 'depth_less' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:121: 'depth_unchanged' : unrecognized layout identifier, or qualifier requires assignemnt (e.g., binding = 4) 
 | |
| ERROR: 0:150: 'constructor' : constructing from a non-dereferenced array 
 | |
| ERROR: 0:150: '=' :  cannot convert from 'const float' to '3-element array of 4-component vector of float'
 | |
| ERROR: 0:152: 'constructor' :  cannot convert parameter 1 from 'const 2-element array of 4-component vector of float' to '4-component vector of float'
 | |
| ERROR: 0:172: 'x' : undeclared identifier 
 | |
| ERROR: 0:172: '[]' : scalar integer expression required 
 | |
| ERROR: 0:172: 'length' : illegal vector field selection 
 | |
| ERROR: 0:172: '' : function call, method, or subroutine call expected 
 | |
| ERROR: 0:172: '' : no matching overloaded function found 
 | |
| ERROR: 0:175: 'x' : undeclared identifier 
 | |
| ERROR: 0:175: '[]' : scalar integer expression required 
 | |
| ERROR: 0:175: 'b' :  left of '[' is not of type array, matrix, or vector  
 | |
| ERROR: 0:175: 'a' : vector field selection out of range 
 | |
| ERROR: 0:175: 'length' : illegal vector field selection 
 | |
| ERROR: 0:175: '' : function call, method, or subroutine call expected 
 | |
| ERROR: 0:175: '' : no matching overloaded function found 
 | |
| ERROR: 0:178: '[]' : scalar integer expression required 
 | |
| ERROR: 0:178: 's' : undeclared identifier 
 | |
| ERROR: 0:178: 's' :  left of '[' is not of type array, matrix, or vector  
 | |
| ERROR: 0:178: 'a' : vector field selection out of range 
 | |
| ERROR: 0:178: 'length' : illegal vector field selection 
 | |
| ERROR: 0:178: '' : function call, method, or subroutine call expected 
 | |
| ERROR: 0:178: '' : no matching overloaded function found 
 | |
| ERROR: 0:198: 'e' : redefinition 
 | |
| ERROR: 0:226: 'in' : not allowed in nested scope 
 | |
| ERROR: 0:227: 'in' : not allowed in nested scope 
 | |
| ERROR: 0:228: 'in' : not allowed in nested scope 
 | |
| ERROR: 0:232: 'out' : not allowed in nested scope 
 | |
| ERROR: 48 compilation errors.  No code generated.
 | |
| 
 | |
| gl_FragCoord pixel center is integer
 | |
| gl_FragCoord origin is upper left
 | |
| ERROR: node is still EOpNull!
 | |
| 0:5  Sequence
 | |
| 0:5    move second child to first child (int)
 | |
| 0:5      'a' (int)
 | |
| 0:5      Constant:
 | |
| 0:5        -1 (const int)
 | |
| 0:7  Sequence
 | |
| 0:7    move second child to first child (uint)
 | |
| 0:7      'c' (uint)
 | |
| 0:7      Constant:
 | |
| 0:7        4294967295 (const uint)
 | |
| 0:8  Sequence
 | |
| 0:8    move second child to first child (uint)
 | |
| 0:8      'd' (uint)
 | |
| 0:8      Constant:
 | |
| 0:8        4294967295 (const uint)
 | |
| 0:9  Sequence
 | |
| 0:9    move second child to first child (int)
 | |
| 0:9      'e' (int)
 | |
| 0:9      Constant:
 | |
| 0:9        -1 (const int)
 | |
| 0:13  Sequence
 | |
| 0:13    move second child to first child (uint)
 | |
| 0:13      'f' (uint)
 | |
| 0:13      Constant:
 | |
| 0:13        4294967295 (const uint)
 | |
| 0:17  Sequence
 | |
| 0:17    move second child to first child (int)
 | |
| 0:17      'g' (int)
 | |
| 0:17      Constant:
 | |
| 0:17        -1294967296 (const int)
 | |
| 0:19  Sequence
 | |
| 0:19    move second child to first child (int)
 | |
| 0:19      'h' (int)
 | |
| 0:19      Constant:
 | |
| 0:19        -1610612736 (const int)
 | |
| 0:20  Sequence
 | |
| 0:20    move second child to first child (int)
 | |
| 0:20      'i' (int)
 | |
| 0:20      Constant:
 | |
| 0:20        -1 (const int)
 | |
| 0:21  Sequence
 | |
| 0:21    move second child to first child (int)
 | |
| 0:21      'j' (int)
 | |
| 0:21      Constant:
 | |
| 0:21        -1 (const int)
 | |
| 0:22  Sequence
 | |
| 0:22    move second child to first child (int)
 | |
| 0:22      'k' (int)
 | |
| 0:22      Constant:
 | |
| 0:22        -2147483648 (const int)
 | |
| 0:23  Sequence
 | |
| 0:23    move second child to first child (int)
 | |
| 0:23      'l' (int)
 | |
| 0:23      Constant:
 | |
| 0:23        -2147483648 (const int)
 | |
| 0:25  Sequence
 | |
| 0:25    move second child to first child (float)
 | |
| 0:25      'fb' (float)
 | |
| 0:25      Constant:
 | |
| 0:25        1.500000
 | |
| 0:26  Sequence
 | |
| 0:26    move second child to first child (double)
 | |
| 0:26      'fd' (double)
 | |
| 0:26      Constant:
 | |
| 0:26        2.000000
 | |
| 0:127  Function Definition: foo(f1[5]; (5-element array of float)
 | |
| 0:127    Function Parameters: 
 | |
| 0:127      '' (in 5-element array of float)
 | |
| 0:129    Sequence
 | |
| 0:129      Branch: Return with expression
 | |
| 0:129        Constant:
 | |
| 0:129          3.400000
 | |
| 0:129          4.200000
 | |
| 0:129          5.000000
 | |
| 0:129          5.200000
 | |
| 0:129          1.100000
 | |
| 0:137  Function Definition: main( (void)
 | |
| 0:137    Function Parameters: 
 | |
| 0:140    Sequence
 | |
| 0:140      Sequence
 | |
| 0:140        Sequence
 | |
| 0:140          move second child to first child (5-element array of float)
 | |
| 0:140            'a' (5-element array of float)
 | |
| 0:140            Constant:
 | |
| 0:140              3.400000
 | |
| 0:140              4.200000
 | |
| 0:140              5.000000
 | |
| 0:140              5.200000
 | |
| 0:140              1.100000
 | |
| 0:143      Sequence
 | |
| 0:143        Sequence
 | |
| 0:143          move second child to first child (5-element array of float)
 | |
| 0:143            'a' (5-element array of float)
 | |
| 0:143            Constant:
 | |
| 0:143              3.400000
 | |
| 0:143              4.200000
 | |
| 0:143              5.000000
 | |
| 0:143              5.200000
 | |
| 0:143              1.100000
 | |
| 0:?       Sequence
 | |
| 0:149        Sequence
 | |
| 0:149          move second child to first child (2-element array of 4-component vector of float)
 | |
| 0:149            'b' (2-element array of 4-component vector of float)
 | |
| 0:149            Constant:
 | |
| 0:149              0.000000
 | |
| 0:149              0.000000
 | |
| 0:149              0.000000
 | |
| 0:149              0.000000
 | |
| 0:149              0.100000
 | |
| 0:149              0.100000
 | |
| 0:149              0.100000
 | |
| 0:149              0.100000
 | |
| 0:?       Sequence
 | |
| 0:159        Sequence
 | |
| 0:159          Sequence
 | |
| 0:159            move second child to first child (5-element array of float)
 | |
| 0:159              'b' (5-element array of float)
 | |
| 0:159              'a' (5-element array of float)
 | |
| 0:162        Sequence
 | |
| 0:162          Sequence
 | |
| 0:162            move second child to first child (5-element array of float)
 | |
| 0:162              'b' (5-element array of float)
 | |
| 0:162              'a' (5-element array of float)
 | |
| 0:165        Sequence
 | |
| 0:165          Sequence
 | |
| 0:165            move second child to first child (5-element array of float)
 | |
| 0:165              'b' (5-element array of float)
 | |
| 0:165              Constant:
 | |
| 0:165                1.000000
 | |
| 0:165                2.000000
 | |
| 0:165                3.000000
 | |
| 0:165                4.000000
 | |
| 0:165                5.000000
 | |
| 0:167        Constant:
 | |
| 0:167          5 (const int)
 | |
| 0:?       Sequence
 | |
| 0:171        Constant:
 | |
| 0:171          3 (const int)
 | |
| 0:172        Constant:
 | |
| 0:172          0.000000
 | |
| 0:175      Constant:
 | |
| 0:175        0.000000
 | |
| 0:178      Constant:
 | |
| 0:178        0.000000
 | |
| 0:193      Sequence
 | |
| 0:193        move second child to first child (structure{a,b})
 | |
| 0:193          'e' (structure{a,b})
 | |
| 0:193          Constant:
 | |
| 0:193            1.200000
 | |
| 0:193            2 (const int)
 | |
| 0:216      Sequence
 | |
| 0:216        Sequence
 | |
| 0:216          move second child to first child (5-element array of float)
 | |
| 0:216            'a' (5-element array of float)
 | |
| 0:216            Constant:
 | |
| 0:216              3.400000
 | |
| 0:216              4.200000
 | |
| 0:216              5.000000
 | |
| 0:216              5.200000
 | |
| 0:216              1.100000
 | |
| 0:217        Sequence
 | |
| 0:217          move second child to first child (5-element array of float)
 | |
| 0:217            'b' (5-element array of float)
 | |
| 0:217            Constant:
 | |
| 0:217              3.400000
 | |
| 0:217              4.200000
 | |
| 0:217              5.000000
 | |
| 0:217              5.200000
 | |
| 0:217              1.100000
 | |
| 0:218        Sequence
 | |
| 0:218          move second child to first child (5-element array of float)
 | |
| 0:218            'c' (5-element array of float)
 | |
| 0:218            'a' (5-element array of float)
 | |
| 0:219        Sequence
 | |
| 0:219          move second child to first child (5-element array of float)
 | |
| 0:219            'd' (5-element array of float)
 | |
| 0:219            'b' (5-element array of float)
 | |
| 0:?       Sequence
 | |
| 0:223        Sequence
 | |
| 0:223          move second child to first child (float)
 | |
| 0:223            'ceiling' (const (read only) float)
 | |
| 0:223            Convert int to float (float)
 | |
| 0:223              add (int)
 | |
| 0:223                'a' (int)
 | |
| 0:223                'b' (int)
 | |
| 0:?   Linker Objects
 | |
| 0:?     'a' (int)
 | |
| 0:?     'b' (int)
 | |
| 0:?     'c' (uint)
 | |
| 0:?     'd' (uint)
 | |
| 0:?     'e' (int)
 | |
| 0:?     'f' (uint)
 | |
| 0:?     'g' (int)
 | |
| 0:?     'h' (int)
 | |
| 0:?     'i' (int)
 | |
| 0:?     'j' (int)
 | |
| 0:?     'k' (int)
 | |
| 0:?     'l' (int)
 | |
| 0:?     'fa' (float)
 | |
| 0:?     'fb' (float)
 | |
| 0:?     'fc' (double)
 | |
| 0:?     'fd' (double)
 | |
| 0:?     'texcoord1' (2-component vector of float)
 | |
| 0:?     'texcoord2' (2-component vector of float)
 | |
| 0:?     'position' (3-component vector of float)
 | |
| 0:?     'myRGBA' (4-component vector of float)
 | |
| 0:?     'textureLookup' (2-component vector of int)
 | |
| 0:?     'less' (3-component vector of bool)
 | |
| 0:?     'mat2D' (2X2 matrix of float)
 | |
| 0:?     'optMatrix' (3X3 matrix of float)
 | |
| 0:?     'view' (4X4 matrix of float)
 | |
| 0:?     'projection' (4X4 matrix of float)
 | |
| 0:?     'm' (3X2 matrix of float)
 | |
| 0:?     'highPrecisionMVP' (4X4 matrix of double)
 | |
| 0:?     'dm' (2X4 matrix of double)
 | |
| 0:?     'lightVar' (structure{intensity,position})
 | |
| 0:?     'frequencies' (3-element array of float)
 | |
| 0:?     'lightPosition' (uniform 4-element array of 4-component vector of float)
 | |
| 0:?     'lights' (2-element array of structure{intensity,position})
 | |
| 0:?     'numLights' (const int)
 | |
| 0:?       2 (const int)
 | |
| 0:?     'normal' (smooth in 3-component vector of float)
 | |
| 0:?     'TexCoord' (centroid smooth in 2-component vector of float)
 | |
| 0:?     'Color' (invariant centroid smooth in 4-component vector of float)
 | |
| 0:?     'temperature' (noperspective in float)
 | |
| 0:?     'myColor' (flat in 3-component vector of float)
 | |
| 0:?     'myTexCoord' (centroid noperspective in 2-component vector of float)
 | |
| 0:?     'color' (uniform 3-component vector of float)
 | |
| 0:?       0.700000
 | |
| 0:?       0.700000
 | |
| 0:?       0.200000
 | |
| 0:?     '__anon__0' (in block{Color1,Color2,TexCoordA,Atten})
 | |
| 0:?     '__anon__1' (in block{LightPos,LightColor})
 | |
| 0:?     'Materiala' (in block{Color,TexCoord})
 | |
| 0:?     'gl_FragCoord' (gl_FragCoord 4-component vector of float)
 | |
| 0:?     'gl_FragCoord' (gl_FragCoord 4-component vector of float)
 | |
| 0:?     'factor' (layout(location=3 ) out 4-component vector of float)
 | |
| 0:?     'colors' (layout(location=2 ) out 3-element array of 4-component vector of float)
 | |
| 0:?     'gl_FragDepth' (gl_FragDepth float)
 | |
| 0:?     'gl_FragDepth' (gl_FragDepth float)
 | |
| 0:?     '__anon__2' (in block{gl_FogFragCoord,gl_TexCoord,gl_Color,gl_SecondaryColor})
 | |
| 0:?     '__anon__2' (in block{gl_FogFragCoord,gl_TexCoord,gl_Color,gl_SecondaryColor})
 | |
| 
 |