John Kessenich | fb57e7c | 2013-10-15 21:46:20 +0000 | [diff] [blame] | 1 | #version 150 core
|
| 2 |
|
Lukas Hermanns | 1fbc6e6 | 2017-03-10 20:45:20 +0100 | [diff] [blame] | 3 | #ifndef GL_core_profile
|
| 4 | # error standard macro GL_core_profile not defined
|
| 5 | #endif
|
| 6 |
|
John Kessenich | fb57e7c | 2013-10-15 21:46:20 +0000 | [diff] [blame] | 7 | in vec4 iv4;
|
| 8 |
|
| 9 | uniform float ps;
|
| 10 |
|
| 11 | invariant gl_Position;
|
| 12 |
|
| 13 | void main()
|
| 14 | {
|
| 15 | gl_Position = iv4;
|
| 16 | gl_PointSize = ps;
|
| 17 | gl_ClipDistance[2] = iv4.x;
|
John Kessenich | 5134b9c | 2013-11-20 21:12:43 +0000 | [diff] [blame] | 18 | gl_ClipVertex = iv4;
|
John Kessenich | fb57e7c | 2013-10-15 21:46:20 +0000 | [diff] [blame] | 19 | }
|
| 20 |
|
John Kessenich | 5053a39 | 2014-01-07 17:44:41 +0000 | [diff] [blame] | 21 | out float gl_ClipDistance[4];
|
John Kessenich | fb57e7c | 2013-10-15 21:46:20 +0000 | [diff] [blame] | 22 |
|
| 23 | uniform foob {
|
| 24 | int a[];
|
| 25 | };
|
| 26 | int a[5]; // ERROR, resizing user-block member
|
John Kessenich | 2b20dcb | 2014-12-20 07:03:18 +0000 | [diff] [blame] | 27 |
|
| 28 | #line 3000
|
| 29 | #error line of this error should be 3001
|