2013-01-10 18:20:47 +00:00
|
|
|
#version 140
|
|
|
|
|
2013-01-10 01:47:54 +00:00
|
|
|
varying vec4 v;
|
2013-01-10 18:20:47 +00:00
|
|
|
|
2013-01-10 01:47:54 +00:00
|
|
|
in vec4 i;
|
|
|
|
out vec4 o;
|
2013-01-10 18:20:47 +00:00
|
|
|
|
2013-10-16 22:28:35 +00:00
|
|
|
in float gl_ClipDistance[5];
|
|
|
|
|
2013-01-10 18:20:47 +00:00
|
|
|
void main()
|
|
|
|
{
|
2013-10-16 22:28:35 +00:00
|
|
|
float clip = gl_ClipDistance[2];
|
2013-01-10 18:20:47 +00:00
|
|
|
}
|
2013-04-11 16:31:09 +00:00
|
|
|
#ifdef GL_ES
|
|
|
|
#error GL_ES is set
|
|
|
|
#else
|
|
|
|
#error GL_ES is not set
|
|
|
|
#endif
|
2013-12-04 20:41:33 +00:00
|
|
|
|
|
|
|
in struct S { float f; } s; // ERROR
|
2013-12-18 18:47:12 +00:00
|
|
|
|
|
|
|
float patch = 3.1;
|