commit | 552882f768b02a2aa20552a765913187851e382b | [log] [tgz] |
---|---|---|
author | ethannicholas <ethannicholas@google.com> | Thu Jul 07 06:30:48 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 07 06:30:48 2016 -0700 |
tree | bc24176ca342039362f90591966d3354690f36ee | |
parent | 3f58cd0eb8bf4499c4f179aa6111d7e005809df8 [diff] [blame] |
fix for SkSL producing invalid branch after an OpKill GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2129913002 Review-Url: https://codereview.chromium.org/2129913002
diff --git a/src/sksl/SkSLSPIRVCodeGenerator.cpp b/src/sksl/SkSLSPIRVCodeGenerator.cpp index 037abc0..0a2dab3 100644 --- a/src/sksl/SkSLSPIRVCodeGenerator.cpp +++ b/src/sksl/SkSLSPIRVCodeGenerator.cpp
@@ -775,6 +775,7 @@ switch (opCode) { case SpvOpReturn: // fall through case SpvOpReturnValue: // fall through + case SpvOpKill: // fall through case SpvOpBranch: // fall through case SpvOpBranchConditional: ASSERT(fCurrentBlock);