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

Location aliasing should allow mismatch in auxiliary qualifier #3598

Closed
pmistryNV opened this issue May 9, 2024 · 1 comment
Closed

Location aliasing should allow mismatch in auxiliary qualifier #3598

pmistryNV opened this issue May 9, 2024 · 1 comment

Comments

@pmistryNV
Copy link
Contributor

From GLSL 4.2 and above, following interpolation qualifiers are considered auxiliary: centroid, patch, sample, pervertexNV, pervertexEXT

#3438 checks in mismatch of interpolation qualifiers and flags it as an error for location alisasing even if there is only auxiliary qualifier mismatch, However this violates the CTS tests under the category "KHR-Single-GL46.enhanced_layouts.varying_location_aliasing_with_mixed_types" , like the below example.

layout (location = 1, component = 0) centroid flat in int gohan;
layout (location = 1, component = 1) flat in ivec3 goten;

This should be fixed in GLSLANG or the spec should be updated to explicitly mention that auxiliary qualifier mismatch is not permitted.

@pmistryNV
Copy link
Contributor Author

This is NAB, i looked at the CTS tests and it expects auxiliary qualifier mismatch to also fail. Closing this is not a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant