[wgsl] refactor constants processing, add support for array sizes

This commit is contained in:
Dzmitry Malyshau authored and Dzmitry Malyshau committed 2021-01-31 18:27:08 -05:00
1 parent 7c6835bdbc
commit cb36c642ea
5 files changed
+92 -159

No files matched your search

+2 -1
View File
@@ -349,7 +349,8 @@ impl Validator {
},
..
}) => {}
_ => {
other => {
log::warn!("Array size {:?}", other);
return Err(TypeError::InvalidArraySizeConstant(const_handle));
}
}