Closed sciecode closed 5 months ago
The table above that informs align and size for each WGSL type has size
in second column and align
in the third. If you rather keep things consistency, we can also swap the table content instead of the header. Lemme know which you prefer.
Small fix on "WebGPU Data Memory-Layout" page.
On the section that explains how
Struct
andArray
have unique rules for Alignment & Size, the table which is a reflection of WGSL spec, have the header names swapped.I've believe only the ukranian translation also contains the same table, which have also been updated. Others don't appear to, but if I missed any, please let me know and I'll patch the PR.