diff --git a/src/tint/resolver/resolver.cc b/src/tint/resolver/resolver.cc index 58050b9f17..616acc6614 100644 --- a/src/tint/resolver/resolver.cc +++ b/src/tint/resolver/resolver.cc @@ -2586,9 +2586,6 @@ type::Type* Resolver::BuiltinType(builtin::Builtin builtin_ty, const ast::Identi return nullptr; } - if (TINT_UNLIKELY(!el_ty)) { - return nullptr; - } if (TINT_UNLIKELY(!validator_.Vector(el_ty, ident->source))) { return nullptr; }