mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
726: Basic support for minBufferBindingSize r=cwfitzgerald a=kvark **Connections** Has basic (partial) implementation of https://github.com/gpuweb/gpuweb/pull/678 wgpu-rs update - https://github.com/gfx-rs/wgpu-rs/pull/377 **Description** This change allows users to optionally specify the expected minimum binding size for buffers. We are then validating this against both the pipelines and bind groups. If it's not provided, we'll need to validate at draw time - this PR doesn't do this (focus on API changes first). It also moves out the `read_spirv`, since wgpu-types wasn't the right home for it ever. **Testing** Tested on wgpu-rs examples Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>