mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 14:31:08 +01: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>
Languages
Rust
78.5%
WGSL
13%
GLSL
3.1%
Metal
2.8%
HLSL
2.3%
Other
0.2%