aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrYUVtoRGBEffect.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-12-09 10:18:12 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-09 10:18:12 -0800
commit422f56f6e51c2f6a6ab425573b4d790f0157f883 (patch)
treeb82073834abcc2c760e894ab6d2c2af1fe474d41 /src/gpu/effects/GrYUVtoRGBEffect.cpp
parentc0bd6484f621e4a1033be318b1947a5d32157c13 (diff)
Make addUniform take a precision
Diffstat (limited to 'src/gpu/effects/GrYUVtoRGBEffect.cpp')
-rw-r--r--src/gpu/effects/GrYUVtoRGBEffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp
index a477f1e786..68917396f4 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");