Resolver: Handle AccessControl for storage-class propagation

Fix msl tests that were impacted by this

Change-Id: I00f4280c2f059358d9187babda9e44f2d16b096e
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/45244
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
Ben Clayton
2021-03-18 16:44:24 +00:00
committed by Commit Bot service account
parent a63145a923
commit e072465d83
2 changed files with 10 additions and 10 deletions

View File

@@ -1500,7 +1500,7 @@ Resolver::StructInfo* Resolver::Structure(type::Struct* str) {
bool Resolver::ApplyStorageClassUsageToType(ast::StorageClass sc,
type::Type* ty) {
ty = ty->UnwrapAliasIfNeeded();
ty = ty->UnwrapIfNeeded();
if (auto* str = ty->As<type::Struct>()) {
auto* info = Structure(str);