gfx-rs / wgpu-rs

Rust bindings to wgpu native library
https://wgpu.rs
Mozilla Public License 2.0
1.69k stars 186 forks source link

Add map alignment from wgpu-types #853

Closed Dispersia closed 3 years ago

Dispersia commented 3 years ago

References new type created in wgpu-types: https://github.com/gfx-rs/wgpu/pull/1322

Aligns the map to new validations. Fixes stagingbelt only aligning to 4 bytes instead of the needed 8