Newer
Older
John Kessenich
committed
#version 150 core
Lukas Hermanns
committed
#ifndef GL_core_profile
# error standard macro GL_core_profile not defined
#endif
John Kessenich
committed
in vec4 iv4;
uniform float ps;
invariant gl_Position;
void main()
{
gl_Position = iv4;
gl_PointSize = ps;
gl_ClipDistance[2] = iv4.x;
John Kessenich
committed
gl_ClipVertex = iv4;
John Kessenich
committed
}
John Kessenich
committed
out float gl_ClipDistance[4];
John Kessenich
committed
uniform foob {
int a[];
};
int a[5]; // ERROR, resizing user-block member
John Kessenich
committed
#line 3000
#error line of this error should be 3001