mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 07:14:01 +00:00
[glsl-in] Align child structs
This commit is contained in:
parent
0b0d2ab0f3
commit
846ea0ec09
@ -142,6 +142,8 @@ pub fn calculate_offset(
|
||||
span += info.span;
|
||||
}
|
||||
|
||||
span = align_up(span, align);
|
||||
|
||||
let ty_span = types.get_span(ty).clone();
|
||||
ty = types.fetch_or_append(
|
||||
Type {
|
||||
|
Loading…
Reference in New Issue
Block a user