Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 8ec0d2ddbe471955fd686175a31a51a6476ff921..c88efac9f0bc379372defb70aff3558ec8f91e0d 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -359,14 +359,11 @@ void GrGLProgramBuilder::verify(const GrPrimitiveProcessor& gp) { |
} |
void GrGLProgramBuilder::verify(const GrXferProcessor& xp) { |
- // TODO: Once will readDst is only xp enable this assert and remove it from the |
- // FragmentProcessor verify() |
- //SkASSERT(fFS.hasReadDstColor() == xp.willReadDstColor()); |
+ SkASSERT(fFS.hasReadDstColor() == xp.willReadDstColor()); |
} |
void GrGLProgramBuilder::verify(const GrFragmentProcessor& fp) { |
SkASSERT(fFS.hasReadFragmentPosition() == fp.willReadFragmentPosition()); |
- SkASSERT(fFS.hasReadDstColor() == fp.willReadDstColor()); |
} |
template <class Proc> |