mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 17:01:15 +01:00
Fix expression validation check
This commit is contained in:
1 parent
4fb4133298
commit
e87f57d82c
2 files changed
+2
-2
No files matched your search
@@ -536,7 +536,7 @@ impl super::Validator {
|
||||
if expr.needs_pre_emit() {
|
||||
self.valid_expression_set.insert(handle.index());
|
||||
}
|
||||
if !self.flags.contains(ValidationFlags::EXPRESSIONS) {
|
||||
if self.flags.contains(ValidationFlags::EXPRESSIONS) {
|
||||
match self.validate_expression(
|
||||
handle,
|
||||
expr,
|
||||
|
||||
Reference in new issue
Block a user