[glsl-in] Align child structs

This commit is contained in:
João Capucho 2021-08-20 01:30:51 +01:00 committed by Dzmitry Malyshau
parent 0b0d2ab0f3
commit 846ea0ec09

View File

@ -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 {