| Index: src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp
|
| index cba814089eec92be4c1aecb57d2d1393bee7c5df..dc67028df3e3fafe27b9b19d5e8a0e13789e9555 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);
|
| }
|
|
|
|
|