From c46e9b7cfd4fb82e93e1be4ea4edb509d6c41e0d Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Thu, 29 Mar 2018 14:49:43 -0400 Subject: Fix up .fp files Patch for: https://skia-review.googlesource.com/c/skia/+/115989 (Dump additional details about the gpu resources.) Change-Id: I8e47c1c5e9f0180cb611fe6e1d45625a0cd75a8d Reviewed-on: https://skia-review.googlesource.com/117082 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- src/gpu/effects/GrCircleBlurFragmentProcessor.fp | 2 +- src/gpu/effects/GrRRectBlurEffect.fp | 2 +- src/gpu/effects/GrRectBlurEffect.fp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gpu/effects/GrCircleBlurFragmentProcessor.fp b/src/gpu/effects/GrCircleBlurFragmentProcessor.fp index 71e5937729..eac7304458 100644 --- a/src/gpu/effects/GrCircleBlurFragmentProcessor.fp +++ b/src/gpu/effects/GrCircleBlurFragmentProcessor.fp @@ -222,7 +222,7 @@ uniform half4 circleData; static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); GrUniqueKey key; - GrUniqueKey::Builder builder(&key, kDomain, 1); + GrUniqueKey::Builder builder(&key, kDomain, 1, "1-D Circular Blur"); builder[0] = sigmaToCircleRRatioFixed; builder.finish(); diff --git a/src/gpu/effects/GrRRectBlurEffect.fp b/src/gpu/effects/GrRRectBlurEffect.fp index 73f8491691..b45ba3f560 100644 --- a/src/gpu/effects/GrRRectBlurEffect.fp +++ b/src/gpu/effects/GrRRectBlurEffect.fp @@ -33,7 +33,7 @@ uniform half blurRadius; float xformedSigma) { static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); GrUniqueKey key; - GrUniqueKey::Builder builder(&key, kDomain, 9); + GrUniqueKey::Builder builder(&key, kDomain, 9, "RoundRect Blur Mask"); builder[0] = SkScalarCeilToInt(xformedSigma-1/6.0f); int index = 1; diff --git a/src/gpu/effects/GrRectBlurEffect.fp b/src/gpu/effects/GrRectBlurEffect.fp index 73064e0ff2..ed9a1e715f 100644 --- a/src/gpu/effects/GrRectBlurEffect.fp +++ b/src/gpu/effects/GrRectBlurEffect.fp @@ -45,7 +45,7 @@ uniform half profileSize; static const GrUniqueKey::Domain kDomain = GrUniqueKey::GenerateDomain(); GrUniqueKey key; - GrUniqueKey::Builder builder(&key, kDomain, 1); + GrUniqueKey::Builder builder(&key, kDomain, 1, "Rect Blur Mask"); builder[0] = profileSize; builder.finish(); -- cgit v1.2.3