 98434bed00
			
		
	
	
		98434bed00
		
	
	
	
	
		
			
			- Correctly handle non-directive lines starting with "#" - Correctly ignore unrecognized #pragma - Partial fix for new lines in the middle of macro invocation git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24266 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			97 lines
		
	
	
		
			3.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			3.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:89: 'macro expansion' : unexpected '#' foobar
 | |
| ERROR: 0:90: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:94: 'macro expansion' : unexpected '#' foobar
 | |
| ERROR: 0:95: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:100: 'preprocessor evaluation' : bad expression 
 | |
| ERROR: 0:100: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:103: 'macro expansion' : unexpected '#' foobar
 | |
| ERROR: 0:103: 'preprocessor evaluation' : undefined macro in expression 
 | |
| ERROR: 0:103: '#if' : unexpected tokens following directive 
 | |
| ERROR: 0:104: '' : missing #endif 
 | |
| ERROR: 16 compilation errors.  No code generated.
 | |
| 
 | |
| 
 | |
| 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:
 | |
| 
 | |
| 
 | |
| 
 |