Added support for both extension GL_ARB_post_depth_coverage and GL_EXT_post_depth_coverage.
		
			
				
	
	
		
			13 lines
		
	
	
		
			339 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			339 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 310 es
 | 
						|
 | 
						|
#extension GL_ARB_post_depth_coverage : enable
 | 
						|
 | 
						|
precision highp float;
 | 
						|
 | 
						|
layout(post_depth_coverage, location = 0) in float a;  // should fail since post_depth_coverage may only
 | 
						|
                                                       // be declared on in only (not with variable declarations)
 | 
						|
 | 
						|
void main () {
 | 
						|
 | 
						|
}
 |