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

Fixes #1243
This commit is contained in:
João Capucho
2021-08-20 01:10:47 +01:00
committed by Dzmitry Malyshau
parent 448ea65940
commit 0b0d2ab0f3

View File

@@ -162,7 +162,7 @@ pub fn calculate_offset(
kind: ErrorKind::SemanticError("Invalid struct member type".into()),
meta,
});
(0, 0)
(1, 0)
}
};