commit | bed73de4748a87929c8a7d601a01a9d311f68b90 | [log] [tgz] |
---|---|---|
author | Arman Uguray <armansito@google.com> | Fri Jul 01 16:30:33 2022 -0700 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Jul 06 18:50:38 2022 +0000 |
tree | 470e141788fbc1f9375f320d7e455fa6b7d4366b | |
parent | ad62d594502a846f144485812223f392f7513c48 [diff] |
[sksl][spirv] Prevent unreachable blocks in loops - Do not output statements that follow a continue/break statement inside loop block. - Avoid writing an unreachable block when writing do-while statements. Bug: skia:13484 Change-Id: Ifeac58b6dbd58e2fab7ca7b0233676f2b4bc0260 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/555657 Commit-Queue: Arman Uguray <armansito@google.com> Reviewed-by: John Stiles <johnstiles@google.com>