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:
parent
b4a8a15bd2
commit
0aeb77c40f
|
@ -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>()) {
|
||||||
|
|
Loading…
Reference in New Issue