Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index b5b9ae46d93a555c883e79946a62edf285a85877..f1ef61832cdea668d6374a1cba9efee26c1a6a12 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -273,9 +273,9 @@ bool GrTextureDomainEffect::onIsEqual(const GrFragmentProcessor& sBase) const { |
void GrTextureDomainEffect::onComputeInvariantOutput(GrInvariantOutput* inout) const { |
if (GrTextureDomain::kDecal_Mode == fTextureDomain.mode()) { // TODO: helper |
if (GrPixelConfigIsAlphaOnly(this->texture(0)->config())) { |
- inout->mulByUnknownAlpha(); |
+ inout->mulByUnknownSingleComponent(); |
} else { |
- inout->mulByUnknownColor(); |
+ inout->mulByUnknownFourComponents(); |
} |
} else { |
this->updateInvariantOutputForModulation(inout); |