wgpu icon indicating copy to clipboard operation
wgpu copied to clipboard

Rework of `wgpu_hal` vulkan buffer importing

Open inner-daemons opened this issue 6 months ago • 0 comments

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 by wgpu rather 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] Run cargo xtask test to run tests.
  • [x] If this contains user-facing changes, add a CHANGELOG.md entry.

inner-daemons avatar Jun 18 '25 16:06 inner-daemons