Index: src/gpu/effects/GrTextureDomain.cpp |
diff --git a/src/gpu/effects/GrTextureDomain.cpp b/src/gpu/effects/GrTextureDomain.cpp |
index c6a9a22a946183632bec88249c9208625fe1d12e..b5b9ae46d93a555c883e79946a62edf285a85877 100644 |
--- a/src/gpu/effects/GrTextureDomain.cpp |
+++ b/src/gpu/effects/GrTextureDomain.cpp |
@@ -56,8 +56,9 @@ void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, |
if (textureDomain.fIndex >= 0) { |
uniName.appendS32(textureDomain.fIndex); |
} |
- fDomainUni = program->addUniform(GrGLProgramBuilder::kFragment_Visibility, kVec4f_GrSLType, |
- uniName.c_str(), &name); |
+ fDomainUni = program->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
+ kVec4f_GrSLType, kDefault_GrSLPrecision, |
+ uniName.c_str(), &name); |
fDomainName = name; |
} |