Add builtin constants: gl_MaxFragmentUniformVectors and gl_MaxVertexUniformVectors. They should both be available since version 410 for core.
		
			
				
	
	
		
			11 lines
		
	
	
		
			121 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			121 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
#version 410 core
 | 
						|
 | 
						|
in double d;
 | 
						|
in dvec3 d3;
 | 
						|
in dmat4 dm4;
 | 
						|
 | 
						|
void main()
 | 
						|
{
 | 
						|
    int test = gl_MaxFragmentUniformVectors;
 | 
						|
}
 |