Don't emit declaration of gl_FragPos unless also changing the origin.
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 3 Mar 2014 23:25:26 +0000 (23:25 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 3 Mar 2014 23:25:26 +0000 (23:25 +0000)
commit5f6ac03b00adb3e019ef828fa0ecd2292192955d
tree1f188a2bdd246d9b1793c46c340aa6a977da1517
parentb83ec64dde35049e108ec29b263ec8aa580348b5
Don't emit declaration of gl_FragPos unless also changing the origin.

R=jvanverth@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/182003002

git-svn-id: http://skia.googlecode.com/svn/trunk@13648 2bbb7eff-a529-9590-31e7-b0007b416f81
src/gpu/gl/GrGLShaderBuilder.cpp