mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
For storage and uniform buffer bindings, the size is a `wgt::BufferSize`
(`NonZeroU64`). For vertex and index buffer bindings, the size is a
`wgt::BufferAddress` (regular `u64`).
Temporarily breaks some zero-size vertex/index binding cases that worked
before (end of buffer); will be resolved in an immediate follow-up
commit that fully implements zero-size vertex/index binding support.
(cherry picked from commit ea0afc6216)