2013-10-15 21:46:20 +00:00
|
|
|
#version 150 core
|
|
|
|
|
2017-03-10 20:45:20 +01:00
|
|
|
#ifndef GL_core_profile
|
|
|
|
# error standard macro GL_core_profile not defined
|
|
|
|
#endif
|
|
|
|
|
2013-10-15 21:46:20 +00:00
|
|
|
in vec4 iv4;
|
|
|
|
|
|
|
|
uniform float ps;
|
|
|
|
|
|
|
|
invariant gl_Position;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
gl_Position = iv4;
|
|
|
|
gl_PointSize = ps;
|
|
|
|
gl_ClipDistance[2] = iv4.x;
|
2013-11-20 21:12:43 +00:00
|
|
|
gl_ClipVertex = iv4;
|
2013-10-15 21:46:20 +00:00
|
|
|
}
|
|
|
|
|
2014-01-07 17:44:41 +00:00
|
|
|
out float gl_ClipDistance[4];
|
2013-10-15 21:46:20 +00:00
|
|
|
|
|
|
|
uniform foob {
|
|
|
|
int a[];
|
|
|
|
};
|
|
|
|
int a[5]; // ERROR, resizing user-block member
|
2014-12-20 07:03:18 +00:00
|
|
|
|
|
|
|
#line 3000
|
|
|
|
#error line of this error should be 3001
|