mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 00:41:07 +01:00
Allow array_index to be unsigned (#2298)
This commit is contained in:
1 parent
99a7773e65
commit
f59668ccfa
20 files changed
+2336
-1429
No files matched your search
@@ -758,7 +758,7 @@ impl super::Validator {
|
||||
if let Some(expr) = array_index {
|
||||
match *context.resolve_type(expr, &self.valid_expression_set)? {
|
||||
Ti::Scalar {
|
||||
kind: crate::ScalarKind::Sint,
|
||||
kind: crate::ScalarKind::Sint | crate::ScalarKind::Uint,
|
||||
width: _,
|
||||
} => {}
|
||||
_ => {
|
||||
|
||||
Reference in new issue
Block a user