[glsl-in] Align child structs

This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-08-20 10:59:28 -04:00
1 parent 0b0d2ab0f3
commit 846ea0ec09
1 file changed
+2
+2
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 {