mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[glsl-in] Use power of two alignment for bad type in struct
Fixes #1243
This commit is contained in:
committed by
Dzmitry Malyshau
parent
448ea65940
commit
0b0d2ab0f3
@@ -162,7 +162,7 @@ pub fn calculate_offset(
|
||||
kind: ErrorKind::SemanticError("Invalid struct member type".into()),
|
||||
meta,
|
||||
});
|
||||
(0, 0)
|
||||
(1, 0)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user