commit | 0bdf8a3435dc19268926c0c1425f3e93b65f6f7a | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed May 26 17:25:22 2021 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu May 27 13:20:40 2021 +0000 |
tree | ea185655722f3d3e844a0985aa91cb697781fd09 | |
parent | 2e24270ece2b1e2f37a26207acd6273a11fca167 [diff] |
Simplify GrGLSLFragmentShaderBuilder::getPrimaryColorOutputName. The primary color is always named sk_FragColor; both sides of the ternary would return the same string. Change-Id: I18b19a12e7568cdf7c5cbf5d8c488bbdff5b7a4d Reviewed-on: https://skia-review.googlesource.com/c/skia/+/412936 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com>