-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix STATUS_HEAP_CORRUPTION crash in create_sampler #8043
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, minus a nit I'm going to fix right now.
One more note is |
Co-authored-by: Erich Gubler <[email protected]>
A backport of #8043. Co-authored-by: Erich Gubler <[email protected]>
Connections
Fixes bevyengine/bevy#20379
Description
The unsafe in hal vk
create_sampler
is unsound.Testing
Reproduction case:
Squash or Rebase?
squash
Checklist
cargo fmt
.taplo format
.cargo clippy --tests
. If applicable, add:--target wasm32-unknown-unknown
cargo xtask test
to run tests.CHANGELOG.md
entry.