Enable kernel caching in GrMatrixConvolutionEffect

Bug: skia:10233
Change-Id: I7a68cbb44c786a113c0f324e21ed963e8f47f382
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/289492
Auto-Submit: Adlai Holler <adlai@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/src/gpu/effects/GrMatrixConvolutionEffect.cpp b/src/gpu/effects/GrMatrixConvolutionEffect.cpp
index 3736996..8de8dee 100644
--- a/src/gpu/effects/GrMatrixConvolutionEffect.cpp
+++ b/src/gpu/effects/GrMatrixConvolutionEffect.cpp
@@ -81,8 +81,8 @@
         scalableSampler.fBias = SkScalarToFloat(min) / scalableSampler.fGain;
     }
 
-    // TODO: Enable kernel caching and check perf.
-    static constexpr bool kCacheKernelTexture = false;
+    // TODO: Pick cache or dont-cache based on observed perf.
+    static constexpr bool kCacheKernelTexture = true;
 
     GrUniqueKey key;
     if (kCacheKernelTexture) {