commit | 8af1eebedbfd5da48bb51c91ff99a761f5c2a529 | [log] [tgz] |
---|---|---|
author | Ethan Nicholas <ethannicholas@google.com> | Wed Jan 12 15:14:28 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Jan 12 21:32:46 2022 +0000 |
tree | 66c70e7090e67fcfcec530ab60cc7a566e245ea2 | |
parent | 00f71133a81e29c2aaec74b8c4d3d99418622ad0 [diff] |
Converted SkSLSwitchCase to use ints rather than expressions There was no reason to carry around the heavier expressions, as we only support int literals or constants, and this not only fixes a bug but simplifies some of the code. Bug: skia:12811 Change-Id: I3f55d6974d77ce1907f90868775c0e4894243783 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/494037 Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com>