commit | a0bc8aef747a778867ad258fe578b97f0a2f9668 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Tue Apr 04 11:15:33 2023 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Apr 04 15:50:29 2023 +0000 |
tree | d60381e71674e5f985f137ac4c1ff622f65a2d77 | |
parent | 827013b3dbef2cf91399d3516e36c050719040bb [diff] |
Detect alpha-preservation in ternary expressions. It occurred to me that this was fairly easy to check. I'm not sure if any of our shaders would actually exercise this path. Change-Id: Iab22688b00a2d55333717f4ea9a0d92cc8e5e756 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/665857 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>