Set GLSL "precision" only if using OpenGL ES.
commit50442ee97f3212f38c8cbb29228293dfa1c17ce4
authordcastagna <dcastagna@chromium.org>
Tue, 17 Mar 2015 21:28:02 +0000 (17 14:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 17 Mar 2015 21:29:00 +0000 (17 21:29 +0000)
tree225a37a5a5eaec4412e37b025f056890d63074ba
parentdde9acebadce3c0018858692db10d0a47338224a
Set GLSL "precision" only if using OpenGL ES.

GLSL precision qualifiers have no effect in OpenGL.
On Mac the precision qualifiers cause the shader not to compile.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#320976}
gpu/perftests/texture_upload_perftest.cc