Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amend! fix(msl-out): emit and init
struct
member padding always
fix(msl-out): emit and init `struct` member padding always 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](#4701).
- Loading branch information