commit | d2bb315cdde5ebdabd6754ff83ee64bfe96249ac | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Sep 30 15:20:33 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Sep 30 20:07:13 2020 +0000 |
tree | d10d4abeb704df11a12bcbe44e5cf226775a563a | |
parent | 3887a014335b7b177040ce697ec9925ad3356b51 [diff] |
Update TextureEffect to avoid extraneous out variable. Using return statements generates better code when there are no early exits. Change-Id: I18edd49991324aaf1473b614261862d273eac541 Bug: skia:10549 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/321237 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Ethan Nicholas <ethannicholas@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com>