mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 17:05:31 +00:00
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:
committed by
Commit Bot service account
parent
a63145a923
commit
e072465d83
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user