commit | 22900008fb89afe4687a40db8737553ee0e55621 | [log] [tgz] |
---|---|---|
author | bsalomon <bsalomon@google.com> | Tue Jun 24 11:16:52 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 24 11:16:52 2014 -0700 |
tree | e3fff330bde35641bc7e13d6fe9edb559b2f0b8d | |
parent | 8a243376d6f6c4561c713a8fae87af5917461872 [diff] |
Make GrGLShaderBuilder::fragmentPosition() return a vec4, with 1.0 as the zw components when in the y-flip case. This works around an Adreno driver bug. Revert "Stop referencing gl_FragCoord z and w components." This reverts commit 160a52ba217012ed73c240f6d67b3bbf2b4879d6. R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/354663002