Make local coords be highp in default geometry processor

This fixes some regressions on the Nexus 10 that were introduced when the device coordinate feature was removed from GrCoordTransform.

BUG=skia:

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2987

Change-Id: Ib0286b1e056d6d8f875a45beee8b0eda85dc1382
Reviewed-on: https://skia-review.googlesource.com/2987
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2016-10-05 12:09:26 -04:00 committed by Skia Commit-Bot
parent ef4ab9d5aa
commit 9b345e3615

View File

@ -222,7 +222,8 @@ private:
fInColor = &this->addVertexAttrib("inColor", kVec4ub_GrVertexAttribType);
}
if (hasExplicitLocalCoords) {
fInLocalCoords = &this->addVertexAttrib("inLocalCoord", kVec2f_GrVertexAttribType);
fInLocalCoords = &this->addVertexAttrib("inLocalCoord", kVec2f_GrVertexAttribType,
kHigh_GrSLPrecision);
this->setHasExplicitLocalCoords();
}
if (hasCoverage) {