wgpu
wgpu copied to clipboard
Rework of `wgpu_hal` vulkan buffer importing
Connections Discussed briefly with @cwfitzgerald in matrix chat.
Description
- Moved
wgpu_hal's vulkan buffer constructor to the buffer type - Added
from_raw_managed, so that the buffer's memory can be managed bywgpurather than externally
Testing Currently no testing. I don't believe there is any testing for the existing work either however.
Squash or Rebase?
Either works, there is only one commit at the moment.
Checklist
- [x] Run
cargo fmt. - [x] Run
taplo format. - [x] Run
cargo clippy --tests. If applicable, add:- [x]
--target wasm32-unknown-unknown
- [x]
- [x] Run
cargo xtask testto run tests. - [x] If this contains user-facing changes, add a
CHANGELOG.mdentry.