Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 4d8011cd973ac6885b6d23ae2583f29489b9f82f..5ed566fa334f5e99b0ff99ce79d5a8e16cea94f7 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -413,7 +413,8 @@ void GrGLProgramBuilder::emitTransforms(const GrPendingFragmentStage& stage, |
const char* coords = useLocalCoords ? fVS.localCoords() : fVS.positionCoords(); |
GrGLVertToFrag v(varyingType); |
- this->addCoordVarying(varyingName, &v, uniName, coords); |
+ this->addVarying(varyingName, &v, processor->coordTransform(t).precision()); |
+ fCoordVaryings.push_back(TransformVarying(v, uniName, coords)); |
SkASSERT(kVec2f_GrSLType == varyingType || kVec3f_GrSLType == varyingType); |
SkNEW_APPEND_TO_TARRAY(outCoords, GrGLProcessor::TransformedCoords, |