You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
739: Remove Peek-Poke r=cwfitzgerald a=kvark
**Connections**
Related to #738
Related to djg/peek-poke#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 - gfx-rs/wgpu-rs#396
Co-authored-by: Dzmitry Malyshau <[email protected]>
Things such as NonZeroU32 are useful!
The text was updated successfully, but these errors were encountered: