commit | a143a37747b0395fc36ea66226d75a288a7ad9d7 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Fri Oct 29 09:34:18 2021 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Fri Oct 29 14:03:35 2021 +0000 |
tree | 9144c7a20b9b5f6e1fc6cf16f5032ea9d70fa532 | |
parent | 570f6dfe76089b6e0ef1c83a9096ba1de5f3aaf8 [diff] |
Wrap 'u_rtFlip.y * dfdy()' in parentheses, in GLSL. This guards against unexpected results when dfdy is used in complex expressions. In practice, I'm not aware of this causing any trouble. Change-Id: Ia476e57936969d248273856a94d5c403b47c29b4 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/465379 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>