This patch distinguishes preprocessing errors with normal parsing errors and gives glslangValidator the ability to output preprocessing errors.
		
			
				
	
	
		
			5 lines
		
	
	
		
			48 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			48 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
int x() {
 | 
						|
  something that shouldnt compile;
 | 
						|
}
 | 
						|
 |