Allow output variables to be read

This commit is contained in:
Dzmitry Malyshau
2020-10-07 16:08:00 -04:00
parent 4420258001
commit aa35110471

View File

@@ -289,7 +289,7 @@ impl Validator {
return Err(EntryPointError::BindingCollision(var_handle));
}
location_out_mask |= mask;
crate::GlobalUse::STORE
crate::GlobalUse::LOAD | crate::GlobalUse::STORE
}
crate::StorageClass::Constant => crate::GlobalUse::LOAD,
crate::StorageClass::Uniform | crate::StorageClass::StorageBuffer => {