mirror of
https://github.com/libretro/glslang.git
synced 2024-11-30 19:30:40 +00:00
2b20dcb64d
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@29277 e7fa87d3-cd2b-0410-9028-fcbf551c1848
26 lines
383 B
GLSL
26 lines
383 B
GLSL
#version 150 core
|
|
|
|
in vec4 iv4;
|
|
|
|
uniform float ps;
|
|
|
|
invariant gl_Position;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = iv4;
|
|
gl_PointSize = ps;
|
|
gl_ClipDistance[2] = iv4.x;
|
|
gl_ClipVertex = iv4;
|
|
}
|
|
|
|
out float gl_ClipDistance[4];
|
|
|
|
uniform foob {
|
|
int a[];
|
|
};
|
|
int a[5]; // ERROR, resizing user-block member
|
|
|
|
#line 3000
|
|
#error line of this error should be 3001
|