mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 23:11:01 +01:00
* Add documentation that every `allocate()` or `write_buffer()` operation must have a size that is a multiple of 4. * Add assertions for those properties (this gives more helpful panics than leaving it to validation). * Add a randomized test to exercise usage of StagingBelt. I was concerned that `StagingBelt` might have an alignment math bug; having written this test, I am much less concerned. There was previously no test for `StagingBelt` at all, if you don’t count examples/skybox.