Fix spelling mistake in comment

Change-Id: I559e2348b1d61aa2db8c0cdfd284bd4aa98a86c6
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/34462
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
Ben Clayton 2020-12-08 19:56:44 +00:00 committed by Commit Bot service account
parent 3982bb8c28
commit 6c85272d62

View File

@ -41,7 +41,7 @@ bool PackCoordAndArrayIndex(
ast::Expression* array_idx, ast::Expression* array_idx,
std::function<bool(ast::TypeConstructorExpression*)> callback) { std::function<bool(ast::TypeConstructorExpression*)> callback) {
uint32_t packed_size; uint32_t packed_size;
ast::type::Type* packed_el_ty; // Currenly must be f32. ast::type::Type* packed_el_ty; // Currently must be f32.
if (auto* vec = coords->result_type()->As<ast::type::Vector>()) { if (auto* vec = coords->result_type()->As<ast::type::Vector>()) {
packed_size = vec->size() + 1; packed_size = vec->size() + 1;
packed_el_ty = vec->type(); packed_el_ty = vec->type();