From 23e280d1f227d94f6b3dfd0b47359cca1569e1b4 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Thu, 18 Sep 2014 12:26:38 -0700 Subject: Changes to remove program effects builder BUG=skia: R=bsalomon@google.com Author: joshualitt@chromium.org Review URL: https://codereview.chromium.org/551253004 --- src/gpu/effects/GrYUVtoRGBEffect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gpu/effects/GrYUVtoRGBEffect.cpp') 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); } -- cgit v1.2.3