Add valgrind suppressions for GrClearImage
Similar to existing supprresions for bogus errors in GrConvertPixels.
Change-Id: I50f3b47ca3a88c71af532fa69aa2566ad0f03753
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252802
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
diff --git a/tools/valgrind.supp b/tools/valgrind.supp
index 20f1a7d..1e3a3e8 100644
--- a/tools/valgrind.supp
+++ b/tools/valgrind.supp
@@ -282,9 +282,9 @@
fun:_ZN12_GLOBAL__N_120ConvolveHorizontallyILb0EEEvPKhRK21SkConvolutionFilter1DPh
fun:_Z14BGRAConvolve2DPKhibRK21SkConvolutionFilter1DS3_iPhRK18SkConvolutionProcsb
}
-#Something odd happening in with SkRasterPipeline in GrConvertPixels. Seems bogus after
-#investigation. MSAN/ASAN have no complaints. Complaining about conditional jump or use
-#of var that is "uninitialized" but it definitely is.
+#Something odd is happening in SkRasterPipeline when called by GrConvertPixels and GrClearImage.
+#It seems bogus after investigation. MSAN/ASAN have no complaints. It's complaining about
+#conditional jump or use of var that is "uninitialized" but it definitely is.
{
grconvertpixels_rasterpipeline
Memcheck:Cond
@@ -301,3 +301,19 @@
fun:_Z15GrConvertPixelsRK11GrImageInfoPvmS1_PKvmb
...
}
+{
+ grclearimage_rasterpipeline
+ Memcheck:Cond
+ ...
+ fun:_ZNK16SkRasterPipeline3runEmmmm
+ fun:_Z12GrClearImageRK11GrImageInfoPvm8SkRGBA4fIL11SkAlphaType3EE
+ ...
+}
+{
+ grclearimage_rasterpipeline
+ Memcheck:Value8
+ ...
+ fun:_ZNK16SkRasterPipeline3runEmmmm
+ fun:_Z12GrClearImageRK11GrImageInfoPvm8SkRGBA4fIL11SkAlphaType3EE
+ ...
+}