mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-17 00:47:13 +00:00
Build fixes
Two incompatible changes landed simultaniously. Also fix a warning about variable shadowing. Change-Id: I84c9ba48fb87a348a5b0e622ca2fdb191f95a6b2 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/49964 Commit-Queue: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
8e1d177590
commit
58f93c9e26
@@ -397,6 +397,9 @@ const sem::Type* Resolver::Type(const ast::Type* ty) {
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
if (auto* t = ty->As<ast::ExternalTexture>()) {
|
||||
return builder_->create<sem::ExternalTexture>();
|
||||
}
|
||||
if (auto* t = ty->As<ast::TypeName>()) {
|
||||
auto it = named_types_.find(t->name());
|
||||
if (it == named_types_.end()) {
|
||||
|
||||
Reference in New Issue
Block a user