Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gl_PerVertex redeclare not support under version 410 #94

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions data/gl-320/glsl-builtin-blocks.vert
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ out block
flat int Instance;
} Out;

out gl_PerVertex
{
vec4 gl_Position;
};

void main()
{
Out.Texcoord = Texcoord;
Expand Down
12 changes: 0 additions & 12 deletions data/gl-320/primitive-point-quad.geom
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@ uniform mat4 MVP;
uniform mat4 MV;
uniform vec3 CameraPosition;

in gl_PerVertex
{
vec4 gl_Position;
float gl_PointSize;
} gl_in[];

out gl_PerVertex
{
vec4 gl_Position;
float gl_PointSize;
};

in block
{
vec4 Color;
Expand Down
5 changes: 0 additions & 5 deletions data/gl-400/buffer-uniform-array.vert
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ uniform transform
mat4 MVP;
} Transform[2];

out gl_PerVertex
{
vec4 gl_Position;
};

out block
{
flat int Instance;
Expand Down
5 changes: 0 additions & 5 deletions data/gl-400/multi-draw-indirect.vert
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,6 @@ layout(location = POSITION) in vec2 Position;
layout(location = TEXCOORD) in vec2 Texcoord;
layout(location = DRAW_ID) in int DrawID;

out gl_PerVertex
{
vec4 gl_Position;
};

out block
{
vec2 Texcoord;
Expand Down
5 changes: 0 additions & 5 deletions data/gl-400/texture-cube.vert
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ const vec3 ConstNormal = vec3(0, 0, 1);

layout(location = POSITION) in vec2 Position;

out gl_PerVertex
{
vec4 gl_Position;
};

out block
{
vec3 Reflect;
Expand Down
7 changes: 0 additions & 7 deletions data/gl-400/transform-stream.geom
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ out block
layout(stream = 0) vec4 Color;
} Out;

out gl_PerVertex
{
vec4 gl_Position;
float gl_PointSize;
float gl_ClipDistance[];
};

void main()
{
for(int i = 0; i < gl_in.length(); ++i)
Expand Down