Partial fix for inconsistencies re: #2578
gl_SecondaryPositionNV and gl_PositionPerViewNV are inconsistently declared inside and outside of gl_PerVertex. This breaks interface block matching. For now ignore these errors since it should be fixed with how they are declared.
This commit is contained in:
27
Test/link.vk.inconsistentGLPerVertex.0.geom
Executable file
27
Test/link.vk.inconsistentGLPerVertex.0.geom
Executable file
@@ -0,0 +1,27 @@
|
||||
#version 460 core
|
||||
|
||||
layout(lines_adjacency) in;
|
||||
layout(triangle_strip, max_vertices = 50) out;
|
||||
|
||||
in vs_output
|
||||
{
|
||||
vec4 color;
|
||||
} gs_in[];
|
||||
|
||||
out gs_output
|
||||
{
|
||||
vec4 color;
|
||||
} gs_out;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = gl_in[0].gl_Position;
|
||||
gs_out.color = gs_in[0].color;
|
||||
EmitVertex();
|
||||
gs_out.color = gs_in[1].color;
|
||||
gl_Position = gl_in[1].gl_Position;
|
||||
EmitVertex();
|
||||
gs_out.color = gs_in[0].color;
|
||||
gl_Position = gl_in[0].gl_Position;
|
||||
EmitVertex();
|
||||
}
|
||||
Reference in New Issue
Block a user