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

Extract a naga pub create_validator function for use in Bevy #5606

Merged
merged 8 commits into from
Apr 26, 2024

Conversation

atlv24
Copy link
Contributor

@atlv24 atlv24 commented Apr 25, 2024

Description
Bevy currently duplicates all this logic because its private. Factor out a function and expose it to avoid this

Testing
Existing tests

Checklist

  • Run cargo fmt.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@atlv24 atlv24 requested a review from a team as a code owner April 25, 2024 03:21
Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, totally see how that's useful and even without that would be good refactor 👍

@Wumpf Wumpf merged commit 739905e into gfx-rs:trunk Apr 26, 2024
25 checks passed
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.

2 participants