 5134b9cf57
			
		
	
	
		5134b9cf57
		
	
	
	
	
		
			
			Also made all tests in testlist include linker tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24156 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			23 lines
		
	
	
		
			323 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			323 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 150 core
 | |
| 
 | |
| in vec4 iv4;
 | |
| 
 | |
| uniform float ps;
 | |
| 
 | |
| invariant gl_Position;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     gl_Position = iv4;
 | |
|     gl_PointSize = ps;
 | |
|     gl_ClipDistance[2] = iv4.x;
 | |
|     gl_ClipVertex = iv4;
 | |
| }
 | |
| 
 | |
| float gl_ClipDistance[4];
 | |
| 
 | |
| uniform foob {
 | |
|     int a[];
 | |
| };
 | |
| int a[5]; // ERROR, resizing user-block member
 |