Ray query expressions and special types

This commit is contained in:
Dzmitry Malyshau committed 2023-03-22 17:23:07 -07:00
1 parent e46c53d212
commit b856625821
25 files changed
+388 -46

No files matched your search

+3 -1
View File
@@ -440,7 +440,9 @@ impl super::Validator {
match types[var.ty].inner {
crate::TypeInner::Image { .. }
| crate::TypeInner::Sampler { .. }
| crate::TypeInner::BindingArray { .. } => {}
| crate::TypeInner::BindingArray { .. }
| crate::TypeInner::AccelerationStructure
| crate::TypeInner::RayQuery => {}
_ => {
return Err(GlobalVariableError::InvalidType(var.space));
}