diff options
author | 2014-09-18 12:26:38 -0700 | |
---|---|---|
committer | 2014-09-18 12:26:38 -0700 | |
commit | 23e280d1f227d94f6b3dfd0b47359cca1569e1b4 (patch) | |
tree | 6091e9c78cf6ecd31ce3315dbea62191818a9531 /src/gpu/effects/GrYUVtoRGBEffect.cpp | |
parent | 1c4c528c2a5693c88ceb94888c747559c6a32091 (diff) |
Changes to remove program effects builder
BUG=skia:
R=bsalomon@google.com
Author: joshualitt@chromium.org
Review URL: https://codereview.chromium.org/551253004
Diffstat (limited to 'src/gpu/effects/GrYUVtoRGBEffect.cpp')
-rw-r--r-- | src/gpu/effects/GrYUVtoRGBEffect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp index cba814089e..dc67028df3 100644 --- a/src/gpu/effects/GrYUVtoRGBEffect.cpp +++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp @@ -66,11 +66,11 @@ public: kMat44f_GrSLType, "YUVMatrix", &yuvMatrix); fsBuilder->codeAppendf("\t%s = vec4(\n\t\t", outputColor); - fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].type()); + fsBuilder->appendTextureLookup(samplers[0], coords[0].c_str(), coords[0].getType()); fsBuilder->codeAppend(".r,\n\t\t"); - fsBuilder->appendTextureLookup(samplers[1], coords[0].c_str(), coords[0].type()); + fsBuilder->appendTextureLookup(samplers[1], coords[0].c_str(), coords[0].getType()); fsBuilder->codeAppend(".r,\n\t\t"); - fsBuilder->appendTextureLookup(samplers[2], coords[0].c_str(), coords[0].type()); + fsBuilder->appendTextureLookup(samplers[2], coords[0].c_str(), coords[0].getType()); fsBuilder->codeAppendf(".r,\n\t\t1.0) * %s;\n", yuvMatrix); } |