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

Named struct type should match between stages. The name will be checked. #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
11 changes: 3 additions & 8 deletions data/gl-430/interface-matching.cont
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ in gl_PerVertex
float gl_ClipDistance[];
} gl_in[];

struct vertexIn
struct vertex
{
vec4 Color;
};

layout(location = 0) in vertexIn st_In[][2];
layout(location = 0) in vertex st_In[][2];

in block
{
Expand All @@ -36,12 +36,7 @@ out gl_PerVertex
float gl_ClipDistance[];
} gl_out[];

struct vertexOut
{
vec4 Color;
};

layout(location = 0) out vertexOut st_Out[][2];
layout(location = 0) out vertex st_Out[][2];

out block
{
Expand Down