 cf0206c341
			
		
	
	
		cf0206c341
		
	
	
	
	
		
			
			r26245: Remove "not yet complete" warning for versions 130 and 140, after tidying up a bit and adding tests. Token pasting is the only known missing feature, and gives its own message now on use. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26226 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			188 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			188 lines
		
	
	
		
			7.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| cppComplexExpr.vert
 | |
| ERROR: 0:46: 'xyxwx' : illegal vector field selection 
 | |
| ERROR: 0:46: 'xyxwx' : illegal vector field selection 
 | |
| ERROR: 0:66: '#define' : Macro redefined; different substitutions: BIG
 | |
| ERROR: 0:81: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:81: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:82: '#error' : good macro  
 | |
| ERROR: 0:87: 'macro expansion' : end of line in macro substitution: foobar
 | |
| ERROR: 0:88: 'preprocessor evaluation' : can't evaluate expression 
 | |
| ERROR: 0:88: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:88: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:92: 'macro expansion' : end of line in macro substitution: foobar
 | |
| ERROR: 0:93: 'preprocessor evaluation' : can't evaluate expression 
 | |
| ERROR: 0:93: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:93: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:99: 'macro expansion' : end of line in macro substitution: foobar
 | |
| ERROR: 0:100: 'preprocessor evaluation' : can't evaluate expression 
 | |
| ERROR: 0:100: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:100: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:101: 'macro expansion' : end of line in macro substitution: foobar
 | |
| ERROR: 0:102: 'preprocessor evaluation' : can't evaluate expression 
 | |
| ERROR: 0:102: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:102: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:108: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
 | |
| ERROR: 0:111: '#error' : good 0  
 | |
| ERROR: 0:115: '#error' : good 1  
 | |
| ERROR: 0:120: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
 | |
| ERROR: 0:123: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
 | |
| ERROR: 0:129: '#error' : good 1  
 | |
| ERROR: 0:133: '#error' : good 3  
 | |
| ERROR: 0:139: '#error' : good 4  
 | |
| ERROR: 0:144: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
 | |
| ERROR: 0:153: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF
 | |
| ERROR: 0:156: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
 | |
| ERROR: 0:159: 'preprocessor evaluation' : undefined macro in expression not allowed in es profile UNDEF2
 | |
| ERROR: 0:10002: '' : missing #endif 
 | |
| ERROR: 35 compilation errors.  No code generated.
 | |
| 
 | |
| 
 | |
| Shader version: 300
 | |
| ERROR: node is still EOpNull!
 | |
| 0:4  Sequence
 | |
| 0:4    move second child to first child (highp float)
 | |
| 0:4      'sum' (highp float)
 | |
| 0:4      Constant:
 | |
| 0:4        0.000000
 | |
| 0:6  Function Definition: main( (void)
 | |
| 0:6    Function Parameters: 
 | |
| 0:10    Sequence
 | |
| 0:10      add second child into first child (highp float)
 | |
| 0:10        'sum' (highp float)
 | |
| 0:10        Constant:
 | |
| 0:10          1.000000
 | |
| 0:15      add second child into first child (highp float)
 | |
| 0:15        'sum' (highp float)
 | |
| 0:15        Constant:
 | |
| 0:15          20.000000
 | |
| 0:30      add second child into first child (highp float)
 | |
| 0:30        'sum' (highp float)
 | |
| 0:30        Constant:
 | |
| 0:30          300.000000
 | |
| 0:39      move second child to first child (highp 4-component vector of float)
 | |
| 0:39        'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:39        Construct vec4 (highp 4-component vector of float)
 | |
| 0:39          'sum' (highp float)
 | |
| 0:44  Function Definition: foo( (highp float)
 | |
| 0:44    Function Parameters: 
 | |
| 0:46    Sequence
 | |
| 0:46      Branch: Return with expression
 | |
| 0:46        add (highp float)
 | |
| 0:46          add (highp float)
 | |
| 0:46            direct index (highp float)
 | |
| 0:46              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:46              Constant:
 | |
| 0:46                0 (const int)
 | |
| 0:46            Constant:
 | |
| 0:46              3.000000
 | |
| 0:46          add (highp float)
 | |
| 0:46            direct index (highp float)
 | |
| 0:46              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:46              Constant:
 | |
| 0:46                0 (const int)
 | |
| 0:46            Constant:
 | |
| 0:46              3.000000
 | |
| 0:47      Branch: Return with expression
 | |
| 0:47        add (highp float)
 | |
| 0:47          add (highp float)
 | |
| 0:47            direct index (highp float)
 | |
| 0:47              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:47              Constant:
 | |
| 0:47                1 (const int)
 | |
| 0:47            Constant:
 | |
| 0:47              3.000000
 | |
| 0:47          add (highp float)
 | |
| 0:47            direct index (highp float)
 | |
| 0:47              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:47              Constant:
 | |
| 0:47                1 (const int)
 | |
| 0:47            Constant:
 | |
| 0:47              3.000000
 | |
| 0:97  Sequence
 | |
| 0:97    move second child to first child (highp float)
 | |
| 0:97      'c' (highp float)
 | |
| 0:98      Constant:
 | |
| 0:98        3.300000
 | |
| 0:?   Linker Objects
 | |
| 0:?     'sum' (highp float)
 | |
| 0:?     'c' (highp float)
 | |
| 0:?     'gl_VertexID' (gl_VertexId highp int)
 | |
| 0:?     'gl_InstanceID' (gl_InstanceId highp int)
 | |
| 
 | |
| 
 | |
| Linked vertex stage:
 | |
| 
 | |
| 
 | |
| Shader version: 300
 | |
| ERROR: node is still EOpNull!
 | |
| 0:4  Sequence
 | |
| 0:4    move second child to first child (highp float)
 | |
| 0:4      'sum' (highp float)
 | |
| 0:4      Constant:
 | |
| 0:4        0.000000
 | |
| 0:6  Function Definition: main( (void)
 | |
| 0:6    Function Parameters: 
 | |
| 0:10    Sequence
 | |
| 0:10      add second child into first child (highp float)
 | |
| 0:10        'sum' (highp float)
 | |
| 0:10        Constant:
 | |
| 0:10          1.000000
 | |
| 0:15      add second child into first child (highp float)
 | |
| 0:15        'sum' (highp float)
 | |
| 0:15        Constant:
 | |
| 0:15          20.000000
 | |
| 0:30      add second child into first child (highp float)
 | |
| 0:30        'sum' (highp float)
 | |
| 0:30        Constant:
 | |
| 0:30          300.000000
 | |
| 0:39      move second child to first child (highp 4-component vector of float)
 | |
| 0:39        'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:39        Construct vec4 (highp 4-component vector of float)
 | |
| 0:39          'sum' (highp float)
 | |
| 0:44  Function Definition: foo( (highp float)
 | |
| 0:44    Function Parameters: 
 | |
| 0:46    Sequence
 | |
| 0:46      Branch: Return with expression
 | |
| 0:46        add (highp float)
 | |
| 0:46          add (highp float)
 | |
| 0:46            direct index (highp float)
 | |
| 0:46              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:46              Constant:
 | |
| 0:46                0 (const int)
 | |
| 0:46            Constant:
 | |
| 0:46              3.000000
 | |
| 0:46          add (highp float)
 | |
| 0:46            direct index (highp float)
 | |
| 0:46              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:46              Constant:
 | |
| 0:46                0 (const int)
 | |
| 0:46            Constant:
 | |
| 0:46              3.000000
 | |
| 0:47      Branch: Return with expression
 | |
| 0:47        add (highp float)
 | |
| 0:47          add (highp float)
 | |
| 0:47            direct index (highp float)
 | |
| 0:47              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:47              Constant:
 | |
| 0:47                1 (const int)
 | |
| 0:47            Constant:
 | |
| 0:47              3.000000
 | |
| 0:47          add (highp float)
 | |
| 0:47            direct index (highp float)
 | |
| 0:47              'gl_Position' (gl_Position highp 4-component vector of float)
 | |
| 0:47              Constant:
 | |
| 0:47                1 (const int)
 | |
| 0:47            Constant:
 | |
| 0:47              3.000000
 | |
| 0:97  Sequence
 | |
| 0:97    move second child to first child (highp float)
 | |
| 0:97      'c' (highp float)
 | |
| 0:98      Constant:
 | |
| 0:98        3.300000
 | |
| 0:?   Linker Objects
 | |
| 0:?     'sum' (highp float)
 | |
| 0:?     'c' (highp float)
 | |
| 0:?     'gl_VertexID' (gl_VertexId highp int)
 | |
| 0:?     'gl_InstanceID' (gl_InstanceId highp int)
 | |
| 
 |