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:
20
Test/link.vk.inconsistentGLPerVertex.0.vert
Executable file
20
Test/link.vk.inconsistentGLPerVertex.0.vert
Executable file
@@ -0,0 +1,20 @@
|
||||
#version 460 core
|
||||
|
||||
// This test is to test isInconsistentGLPerVertexMember() workarounds.
|
||||
// Without that workaround this compile fails due to block declarations
|
||||
// in gl_PerVertex not being consistent for:
|
||||
// gl_SecondaryPositionNV
|
||||
// gl_PositionPerViewNV
|
||||
|
||||
out vs_output
|
||||
{
|
||||
vec4 color;
|
||||
} vs_out;
|
||||
|
||||
in vec4 P;
|
||||
void main()
|
||||
{
|
||||
vs_out.color = vec4(1.);
|
||||
gl_PointSize = 1.0;
|
||||
gl_Position = P;
|
||||
}
|
||||
Reference in New Issue
Block a user