• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 150 core
2
3#ifndef GL_core_profile
4#	error standard macro GL_core_profile not defined
5#endif
6
7in 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;
18    gl_ClipVertex = iv4;
19}
20
21out float gl_ClipDistance[4];
22
23uniform foob {
24    int a[];
25};
26int a[5]; // ERROR, resizing user-block member
27
28#line 3000
29#error line of this error should be 3001
30