Index: src/gpu/GrProcessor.cpp |
diff --git a/src/gpu/GrProcessor.cpp b/src/gpu/GrProcessor.cpp |
index 4f27404797d6287ca6c9fb33e283cbbaf039f82f..6699b520bcd0f02fe15ec1a1cf0657c94df059bd 100644 |
--- a/src/gpu/GrProcessor.cpp |
+++ b/src/gpu/GrProcessor.cpp |
@@ -149,6 +149,7 @@ bool GrProcessor::hasSameTextureAccesses(const GrProcessor& that) const { |
void GrFragmentProcessor::addCoordTransform(const GrCoordTransform* transform) { |
fCoordTransforms.push_back(transform); |
+ fUsesLocalCoords = fUsesLocalCoords || transform->sourceCoords() == kLocal_GrCoordSet; |
SkDEBUGCODE(transform->setInProcessor();) |
} |