commit | cc68ab42c25501f6bf610d468083570db519f58d | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Wed Jan 19 10:47:17 2022 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Wed Jan 19 16:29:52 2022 +0000 |
tree | 9ef7ba60fd938c73e9f03670a034bd670da42bf7 | |
parent | 98c09e51f33e978a0d2860b70dd82b8c97aa4ca5 [diff] |
Avoid skvm::splat for continuous shader-dependent values Avoids needless creation of nearly-identical programs. If someone ever animated a two-point conical gradient, this was a disaster waiting to happen. Change-Id: I49008591fec703ef86eb331d7df87f3405ff15ee Reviewed-on: https://skia-review.googlesource.com/c/skia/+/496603 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Brian Osman <brianosman@google.com>