commit | 570f6dfe76089b6e0ef1c83a9096ba1de5f3aaf8 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Fri Oct 29 09:18:32 2021 -0400 |
committer | John Stiles <johnstiles@google.com> | Fri Oct 29 13:56:47 2021 +0000 |
tree | 6306c1f0b5960f230bc33d307cd3358c6974d513 | |
parent | b469c10c8551d71a9dcce412952b6edb19263230 [diff] |
Wrap 'u_rtFlip.y * dfdy()' in parentheses, in Metal. 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: I639bef465d7907049d79681a49f9be67b4c435a6 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/465378 Commit-Queue: John Stiles <johnstiles@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com>