mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
8b79b056fa08e828f20dad63965db124d3388b01
In wgpu 0.7, this was a valid operation, the zero padding was done by hand. However in #872 this was removed as an optimization since buffers are zero padded, however the slice end was taken from buffer.slice which has to be aligned when mapped.
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%