mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
9f498fd571
Define a new type, `NonMaxU32`, that can represent any `u32` value except `u32::MAX`, defined such that `Option<NonMaxU32>` is still a 32-bit value. Change `Handle` to use `NonMaxU32`. Adjust all code that works directly with handle indices to assume zero-based indices, not one-based indices. |
||
---|---|---|
.. | ||
quad.dot |