| Index: src/gpu/gl/GrGLProgram.cpp
|
| diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp
|
| index 007d9670bc5cd5bc49f602124b012aee574777c8..8ef188bf2b074c2471805fc632abe8980ac307cb 100644
|
| --- a/src/gpu/gl/GrGLProgram.cpp
|
| +++ b/src/gpu/gl/GrGLProgram.cpp
|
| @@ -89,9 +89,12 @@ void GrGLProgram::setData(const GrPrimitiveProcessor& primProc,
|
|
|
| this->setFragmentData(primProc, pipeline, textureBindings);
|
|
|
| - const GrXferProcessor& xp = pipeline.getXferProcessor();
|
| - fXferProcessor->setData(fProgramDataManager, xp);
|
| - append_texture_bindings(xp, textureBindings);
|
| + if (primProc.getPixelLocalStorageState() !=
|
| + GrPixelLocalStorageState::kDraw_GrPixelLocalStorageState) {
|
| + const GrXferProcessor& xp = pipeline.getXferProcessor();
|
| + fXferProcessor->setData(fProgramDataManager, xp);
|
| + append_texture_bindings(xp, textureBindings);
|
| + }
|
| }
|
|
|
| void GrGLProgram::setFragmentData(const GrPrimitiveProcessor& primProc,
|
|
|