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

Fix dropping Device if not using indirect validation #6681

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

Dinnerbone
Copy link
Contributor

@Dinnerbone Dinnerbone commented Dec 7, 2024

Connections
Fixes #6676

Description
We incorrectly assume that if we're building with the indirect validation feature, that it's always available. This fixes the panic that results from it.

Testing
Manual testing, repro case in #6676

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • 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.

@Dinnerbone Dinnerbone requested a review from a team as a code owner December 7, 2024 18:37
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.

thank you!!

@Wumpf Wumpf merged commit 11b5169 into gfx-rs:trunk Dec 7, 2024
27 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.

Panic when dropping Device without INDIRECT_EXECUTION support
2 participants