diff options
author | Brian Osman <brianosman@google.com> | 2018-04-30 14:17:14 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-04-30 18:42:14 +0000 |
commit | 7a9dd395ab67b87ff310f6ac6da4c9ed1bc0153f (patch) | |
tree | 7887dcbea848563359f2acaefacafcd3f2488904 | |
parent | fb68b3bce21ad22ef91cb8502b375deba6874d23 (diff) |
Move TestForPreservingPMConversions memset to FP file
Fixes CheckGeneratedFiles error introduced by:
https://skia-review.googlesource.com/c/skia/+/124350
Change-Id: I2e1314c6fa9e6a938a0c26ae49aa5b9121a7229f
Reviewed-on: https://skia-review.googlesource.com/124640
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
-rw-r--r-- | src/gpu/effects/GrConfigConversionEffect.fp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/effects/GrConfigConversionEffect.fp b/src/gpu/effects/GrConfigConversionEffect.fp index 6cc5820fd0..f466cc7d40 100644 --- a/src/gpu/effects/GrConfigConversionEffect.fp +++ b/src/gpu/effects/GrConfigConversionEffect.fp @@ -34,6 +34,8 @@ color[0] = SkTMin(x, y); } } + memset(firstRead, 0, kSize * kSize * sizeof(uint32_t)); + memset(secondRead, 0, kSize * kSize * sizeof(uint32_t)); const SkImageInfo ii = SkImageInfo::Make(kSize, kSize, kRGBA_8888_SkColorType, kPremul_SkAlphaType); |