[glsl-in] Use power of two alignment for bad type in struct

Fixes #1243
This commit is contained in:
João Capucho authored and Dzmitry Malyshau committed 2021-08-19 20:38:10 -04:00
1 parent 448ea65940
commit 0b0d2ab0f3
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ pub fn calculate_offset(
kind: ErrorKind::SemanticError("Invalid struct member type".into()),
meta,
});
(0, 0)
(1, 0)
}
};