mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
611da6da2d
Previously, implicit padding members of `struct`s were suppressed from structure definitions in Metal output if they had a binding specified for them (i.e., `@location(0)`). This padding is, however, is necessary for correct access of member fields passed into shaders by uniform and storage buffers. Unconditionally emit padding members for `struct`s. Resolves [`gfx-rs/wgpu`#4701](https://github.com/gfx-rs/wgpu/pull/4701). |
||
---|---|---|
.. | ||
in | ||
out | ||
snapshots.rs | ||
spirv-capabilities.rs | ||
wgsl-errors.rs |