Index: src/gpu/effects/GrYUVtoRGBEffect.cpp |
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp |
index a477f1e7864f2843e0bec78ae69a67afae4a107e..68917396f48decb551745228f39b63501cf841d0 100644 |
--- a/src/gpu/effects/GrYUVtoRGBEffect.cpp |
+++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp |
@@ -48,8 +48,8 @@ public: |
const char* yuvMatrix = NULL; |
fMatrixUni = builder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
- kMat44f_GrSLType, "YUVMatrix", |
- &yuvMatrix); |
+ kMat44f_GrSLType, kDefault_GrSLPrecision, |
+ "YUVMatrix", &yuvMatrix); |
fsBuilder->codeAppendf("\t%s = vec4(\n\t\t", outputColor); |
fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].getType()); |
fsBuilder->codeAppend(".r,\n\t\t"); |