blob: 4dd9e5ca812115f7bc31bd89ab7bec546f46a3d6 [file] [log] [blame]
John Kessenichfb57e7c2013-10-15 21:46:20 +00001#version 150 core
2
Lukas Hermanns1fbc6e62017-03-10 20:45:20 +01003#ifndef GL_core_profile
4# error standard macro GL_core_profile not defined
5#endif
6
John Kessenichfb57e7c2013-10-15 21:46:20 +00007in vec4 iv4;
8
9uniform float ps;
10
11invariant gl_Position;
12
13void main()
14{
15 gl_Position = iv4;
16 gl_PointSize = ps;
17 gl_ClipDistance[2] = iv4.x;
John Kessenich5134b9c2013-11-20 21:12:43 +000018 gl_ClipVertex = iv4;
John Kessenichfb57e7c2013-10-15 21:46:20 +000019}
20
John Kessenich5053a392014-01-07 17:44:41 +000021out float gl_ClipDistance[4];
John Kessenichfb57e7c2013-10-15 21:46:20 +000022
23uniform foob {
24 int a[];
25};
26int a[5]; // ERROR, resizing user-block member
John Kessenich2b20dcb2014-12-20 07:03:18 +000027
28#line 3000
29#error line of this error should be 3001