diff options
author | bsalomon <bsalomon@google.com> | 2014-12-09 10:18:12 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-09 10:18:12 -0800 |
commit | 422f56f6e51c2f6a6ab425573b4d790f0157f883 (patch) | |
tree | b82073834abcc2c760e894ab6d2c2af1fe474d41 /src/gpu/effects/GrYUVtoRGBEffect.cpp | |
parent | c0bd6484f621e4a1033be318b1947a5d32157c13 (diff) |
Make addUniform take a precision
Review URL: https://codereview.chromium.org/788733003
Diffstat (limited to 'src/gpu/effects/GrYUVtoRGBEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrYUVtoRGBEffect.cpp | 4 |
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"); |