| Index: src/gpu/glsl/GrGLSLProgramBuilder.h
|
| diff --git a/src/gpu/glsl/GrGLSLProgramBuilder.h b/src/gpu/glsl/GrGLSLProgramBuilder.h
|
| index 164423cce9cc4ec88d0d1646cd2d7253a4021e62..b8669bf2f6e70699b84937c3ad73d6ff7fe48253 100644
|
| --- a/src/gpu/glsl/GrGLSLProgramBuilder.h
|
| +++ b/src/gpu/glsl/GrGLSLProgramBuilder.h
|
| @@ -105,7 +105,7 @@ private:
|
| // fragment shader are cleared.
|
| void reset() {
|
| this->addStage();
|
| - fFS.reset();
|
| + SkDEBUGCODE(fFS.resetVerification();)
|
| }
|
| void addStage() { fStageIndex++; }
|
|
|
| @@ -141,9 +141,11 @@ private:
|
| GrPixelLocalStorageState plsState);
|
| void emitFSOutputSwizzle(bool hasSecondaryOutput);
|
|
|
| +#ifdef SK_DEBUG
|
| void verify(const GrPrimitiveProcessor&);
|
| void verify(const GrXferProcessor&);
|
| void verify(const GrFragmentProcessor&);
|
| +#endif
|
|
|
| virtual void emitSamplers(const GrProcessor& processor,
|
| GrGLSLTextureSampler::TextureSamplerArray* outSamplers) = 0;
|
|
|