mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-26 01:11:22 +01:00
[wgsl] refactor constants processing, add support for array sizes
This commit is contained in:
1 parent
7c6835bdbc
commit
cb36c642ea
5 files changed
+92
-159
No files matched your search
@@ -349,7 +349,8 @@ impl Validator {
|
||||
},
|
||||
..
|
||||
}) => {}
|
||||
_ => {
|
||||
other => {
|
||||
log::warn!("Array size {:?}", other);
|
||||
return Err(TypeError::InvalidArraySizeConstant(const_handle));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user