mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-18 09:52:35 +00:00
![]() 739: Remove Peek-Poke r=cwfitzgerald a=kvark **Connections** Related to https://github.com/gfx-rs/wgpu/issues/738 Related to https://github.com/djg/peek-poke/issues/10 **Description** As of #726 , the buffers have a minimum binding size that has to include the shader struct size. It, therefore, can't be zero. We can remove the hacks we had previously and switch fully to the idiomatic `Option<NonZeroU64>`. Peek-poke doesn't `NonZeroU64` and friends, so this made me reconsider the user of it entirely. Today, render bundles as well as the Player already represent command streams using a much rustier method. I tried to move everything to this method now, and I think this is going to work much better, and safer. **Testing** wgpu-rs works - https://github.com/gfx-rs/wgpu-rs/pull/396 Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |