From d705a13599b2aab90ae59f8e5f45c24c982ef247 Mon Sep 17 00:00:00 2001 From: David Neto Date: Mon, 13 Sep 2021 15:18:59 +0000 Subject: [PATCH] Fix typo in a comment Change-Id: I85aa498e6f593567b361f01734af1e8eb586ceba Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/64080 Auto-Submit: David Neto Kokoro: Kokoro Reviewed-by: Ben Clayton Commit-Queue: Ben Clayton --- src/writer/spirv/builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/writer/spirv/builder.cc b/src/writer/spirv/builder.cc index 1610463ce7..afe2bbc3ff 100644 --- a/src/writer/spirv/builder.cc +++ b/src/writer/spirv/builder.cc @@ -89,7 +89,7 @@ bool LastIsFallthrough(const ast::BlockStatement* stmts) { return !stmts->empty() && stmts->last()->Is(); } -// A terminator is anything which will case a SPIR-V terminator to be emitted. +// A terminator is anything which will cause a SPIR-V terminator to be emitted. // This means things like breaks, fallthroughs and continues which all emit an // OpBranch or return for the OpReturn emission. bool LastIsTerminator(const ast::BlockStatement* stmts) {