| Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| index a07bd732af43d8ae0fc9e8e6e4850be8036fae36..b0d68fbcd9b63e251488ee2225a6280935b565bc 100644
|
| --- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| +++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp
|
| @@ -286,7 +286,8 @@ void GrGLProgramBuilder::emitAndInstallProc(const GrPendingFragmentStage& fs,
|
| SkSTArray<4, GrGLProcessor::TextureSampler> samplers(fp.numTextures());
|
| this->emitSamplers(fp, &samplers, ifp);
|
|
|
| - ifp->fGLProc->emitCode(this, fp, outColor, inColor, fOutCoords[index], samplers);
|
| + GrGLFragmentProcessor::EmitArgs args(this, fp, outColor, inColor, fOutCoords[index], samplers);
|
| + ifp->fGLProc->emitCode(args);
|
|
|
| // We have to check that effects and the code they emit are consistent, ie if an effect
|
| // asks for dst color, then the emit code needs to follow suit
|
|
|