• 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
28in double dvarerr; // Error since extension GL_ARB_vertex_attrib_64bit is not enabled
29#extension GL_ARB_vertex_attrib_64bit: enable
30in double dvar;
31in dvec2  dv2var;
32in dvec3  dv3var;
33in dvec4  dv4var;
34in dmat2  dmat2var;
35in dmat3  dmat3var;
36in dmat4  dmat4var;
37in dmat2x3 dmat23var;
38in dmat2x4 dmat24var;
39in dmat3x2 dmat32var;
40in dmat3x4 dmat34var;
41in dmat4x2 dmat42var;
42in dmat4x3 dmat43var;
43
44#line 3000
45#error line of this error should be 3001
46