 21a8770f92
			
		
	
	
		21a8770f92
		
	
	
	
	
		
			
			git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23631 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			34 lines
		
	
	
		
			430 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			430 B
		
	
	
	
		
			GLSL
		
	
	
	
	
	
| #version 130
 | |
| 
 | |
| lowp vec3 a;
 | |
| mediump float b;
 | |
| highp int c;
 | |
| 
 | |
| precision highp float;
 | |
| 
 | |
| in vec4 i;
 | |
| out vec4 o;
 | |
| 
 | |
| flat in float fflat;
 | |
| smooth in float fsmooth;
 | |
| noperspective in float fnop;
 | |
| 
 | |
| void main()
 | |
| {
 | |
|     float clip = gl_ClipDistance[3];
 | |
| }
 | |
| 
 | |
| uniform samplerCube sampC;
 | |
| 
 | |
| void foo()
 | |
| {
 | |
|     vec4 s = textureGather(sampC, vec3(0.2));
 | |
| }
 | |
| 
 | |
| #extension GL_ARB_texture_gather : enable
 | |
| 
 | |
| void bar()
 | |
| {
 | |
|     vec4 s = textureGather(sampC, vec3(0.2));
 | |
| }
 |