Make ProcessorCloneTest more robust, fix matrix conv. onIsEqual

Change-Id: Iddf860b462dcac36f6a7f5b90d4ce4dceed0dd31
Reviewed-on: https://skia-review.googlesource.com/29604
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/tests/ProcessorTest.cpp b/tests/ProcessorTest.cpp
index e2625a7..8354225 100644
--- a/tests/ProcessorTest.cpp
+++ b/tests/ProcessorTest.cpp
@@ -554,6 +554,15 @@
                 !clone->instantiate(context->resourceProvider())) {
                 continue;
             }
+            REPORTER_ASSERT(reporter, !strcmp(fp->name(), clone->name()));
+            REPORTER_ASSERT(reporter, fp->compatibleWithCoverageAsAlpha() ==
+                                      clone->compatibleWithCoverageAsAlpha());
+            REPORTER_ASSERT(reporter, fp->isEqual(*clone));
+            REPORTER_ASSERT(reporter, fp->preservesOpaqueInput() == clone->preservesOpaqueInput());
+            REPORTER_ASSERT(reporter, fp->hasConstantOutputForConstantInput() ==
+                                      clone->hasConstantOutputForConstantInput());
+            REPORTER_ASSERT(reporter, fp->numChildProcessors() == clone->numChildProcessors());
+            REPORTER_ASSERT(reporter, fp->usesLocalCoords() == clone->usesLocalCoords());
             // Draw with original and read back the results.
             test_draw_op(rtc.get(), fp, inputTexture);
             memset(readData1.get(), 0x0, sizeof(GrColor) * kRenderSize * kRenderSize);