mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
980f5412c434423922c207c9d2b12bccbd2ad01e
212: Improve BufferCopyView documentation r=kvark a=rukai groves suggested that the alignment/multiple requirements are not implemented yet. So I changed the documentation to reflect that. Ideally we would change the examples to demonstrate how to work around this requirement, but I think its best to wait until we know for certain that this IS a requirement, currently the WebGPU spec does not have this as a requirement. Additionally it seems like every example except for the skybox example failed to follow this part of the WebGPU spec. "Note: rowsPerImage must be zero for copies with a copySize.depth of 1, and must be greater than zero otherwise." So I fixed those examples and documented the requirement on the field. Co-authored-by: Rukai <rubickent@gmail.com>
Description
No description provided
Languages
Rust
79.9%
WGSL
16.2%
HLSL
2%
GLSL
1.7%
JavaScript
0.2%