mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-13 21:50:06 +00:00
e8fe7b81d7
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24569 e7fa87d3-cd2b-0410-9028-fcbf551c1848
22 lines
265 B
GLSL
22 lines
265 B
GLSL
#version 140
|
|
|
|
varying vec4 v;
|
|
|
|
in vec4 i;
|
|
out vec4 o;
|
|
|
|
in float gl_ClipDistance[5];
|
|
|
|
void main()
|
|
{
|
|
float clip = gl_ClipDistance[2];
|
|
}
|
|
#ifdef GL_ES
|
|
#error GL_ES is set
|
|
#else
|
|
#error GL_ES is not set
|
|
#endif
|
|
|
|
in struct S { float f; } s; // ERROR
|
|
|
|
float patch = 3.1; |