2013-01-10 18:20:47 +00:00
|
|
|
#version 130
|
|
|
|
|
|
|
|
lowp vec3 a;
|
|
|
|
mediump float b;
|
|
|
|
highp int c;
|
|
|
|
|
|
|
|
precision highp float;
|
|
|
|
|
|
|
|
in vec4 i;
|
|
|
|
out vec4 o;
|
|
|
|
|
2013-06-24 21:22:03 +00:00
|
|
|
flat in float fflat;
|
|
|
|
smooth in float fsmooth;
|
|
|
|
noperspective in float fnop;
|
2013-04-25 16:44:03 +00:00
|
|
|
|
2013-01-10 18:20:47 +00:00
|
|
|
void main()
|
|
|
|
{
|
2013-10-16 22:28:35 +00:00
|
|
|
float clip = gl_ClipDistance[3];
|
2013-01-10 18:20:47 +00:00
|
|
|
}
|
2013-10-21 19:25:59 +00:00
|
|
|
|
|
|
|
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));
|
|
|
|
}
|
2013-11-05 18:07:25 +00:00
|
|
|
|
|
|
|
flat in vec3 gl_Color; // ERROR, type
|
|
|
|
in vec4 gl_Color;
|
|
|
|
flat in vec4 gl_Color;
|
|
|
|
flat in vec4 gl_Color[2]; // ERROR, array
|
|
|
|
vec4 gl_Color; // ERROR, storage
|