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

Extended enums #22

Open
msiglreith opened this issue Jan 17, 2018 · 0 comments
Open

Extended enums #22

msiglreith opened this issue Jan 17, 2018 · 0 comments
Labels

Comments

@msiglreith
Copy link
Collaborator

Enums in Vulkan can be extended due to extensions and the Vulkan backend might return such extended values, resulting in panics on our side as we don't know of these (possible future) enum variants. KhronosGroup/Vulkan-Docs#656

A future driver update may result in crashes on our portability implementation under the assumption that we will have to distribute a vulkan backend portability implementation instead of the normal vulkan driver implementation.

The #[non_exhaustive] attribute might be useful here when it is implemented.

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

No branches or pull requests

1 participant