Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index c7528f0d4d0ca680c84cdc51fecf6ecfb965ecfa..6a46c5463695e969eae876fbff27e2bef7ea3338 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -201,11 +201,8 @@ bool GrGLProgramBuilder::emitAndInstallProcs(GrGLSLExpr4* inputColor, GrGLSLExpr |
for (int i = 0; i < this->pipeline().numFragmentStages(); i++) { |
const GrFragmentProcessor* processor = this->pipeline().getFragmentStage(i).processor(); |
- if (!primProc.hasTransformedLocalCoords()) { |
- SkSTArray<2, const GrCoordTransform*, true>& procCoords = fCoordTransforms.push_back(); |
- |
- append_gr_fp_coord_transforms(processor, &procCoords); |
- } |
+ SkSTArray<2, const GrCoordTransform*, true>& procCoords = fCoordTransforms.push_back(); |
+ append_gr_fp_coord_transforms(processor, &procCoords); |
totalTextures += processor->numTexturesIncludeChildProcs(); |
if (totalTextures >= maxTextureUnits) { |