mirror of
https://github.com/libretro/RetroArch
synced 2025-03-27 23:37:39 +00:00
git-subtree-dir: deps/glslang-new git-subtree-split: 5fe506a8ba0ce5629004d593da16db7f3f57c58b
30 lines
470 B
GLSL
30 lines
470 B
GLSL
#version 150 core
|
|
|
|
#ifndef GL_core_profile
|
|
# error standard macro GL_core_profile not defined
|
|
#endif
|
|
|
|
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
|