Fix GCC builds

BUG=tint:778

Change-Id: If06e453b6fd58b8c74bed996532b3b9f9f7804ee
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/50044
Auto-Submit: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
This commit is contained in:
Ryan Harrison 2021-05-06 08:20:52 +00:00 committed by Commit Bot service account
parent b4a8a15bd2
commit 0aeb77c40f
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ const sem::Type* Resolver::Type(const ast::Type* ty) {
} }
return nullptr; return nullptr;
} }
if (auto* t = ty->As<ast::ExternalTexture>()) { if (ty->As<ast::ExternalTexture>()) {
return builder_->create<sem::ExternalTexture>(); return builder_->create<sem::ExternalTexture>();
} }
if (auto* t = ty->As<ast::TypeName>()) { if (auto* t = ty->As<ast::TypeName>()) {