diff options
Diffstat (limited to 'tests/GLProgramsTest.cpp')
| -rw-r--r-- | tests/GLProgramsTest.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp index 70b95e003d..0a28ba2feb 100644 --- a/tests/GLProgramsTest.cpp +++ b/tests/GLProgramsTest.cpp @@ -157,11 +157,6 @@ static void set_random_color_coverage_stages(GrGLGpu* gpu, dummyTextures)); SkASSERT(fp); - // don't add dst color reads to coverage stage - if (s >= numColorProcs && fp->willReadDstColor()) { - continue; - } - // If adding this effect would exceed the max texture coord set count then generate a // new random effect. if (usePathRendering && gpu->glPathRendering()->texturingMode() == @@ -310,7 +305,7 @@ bool GrDrawTarget::programUnitTest(int maxStages) { } else { primProc = pathProc.get(); } - if (!this->setupDstReadIfNecessary(&ds, primProc, &dstCopy, NULL)) { + if (!this->setupDstReadIfNecessary(&ds, &dstCopy, NULL)) { SkDebugf("Couldn't setup dst read texture"); return false; } |
