Always use high precision on NDS transform
authorjoel.liang <joel.liang@arm.com>
Mon, 7 Dec 2015 18:33:00 +0000 (10:33 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Dec 2015 18:33:00 +0000 (10:33 -0800)
commit8e03b8af752638ee7375460f03aebd554360486f
treee77d3eb2308aa5248923354a35cd18dded943483
parent0745653a677f405bb683b7f7a71b56a7e0dc7921
Always use high precision on NDS transform

To fix the Chrome fillRect issue on Galaxy S6.
We should use high precision for position related calculation.

BUG=chromium:552999

Review URL: https://codereview.chromium.org/1500393002
src/gpu/gl/GrGLCaps.cpp
src/gpu/glsl/GrGLSLCaps.cpp
src/gpu/glsl/GrGLSLCaps.h
src/gpu/glsl/GrGLSLVertexShaderBuilder.cpp