Skip to content

use BitSet for ModuleKey #2

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

Merged
merged 1 commit into from
Oct 24, 2022

Conversation

robtfm
Copy link
Collaborator

@robtfm robtfm commented Oct 24, 2022

fix #1 by using a BitSet for the module key instead of a usize. this dependency is in naga already.

might be a better way to do this that avoids allocating, but it should at least be correct now for larger sets of shader defs.

@robtfm robtfm linked an issue Oct 24, 2022 that may be closed by this pull request
@robtfm robtfm merged commit 211268a into master Oct 24, 2022
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

Successfully merging this pull request may close these issues.

Potential overflow in ModuleKey::from_members
1 participant