diff options
author | Robert Phillips <robertphillips@google.com> | 2018-03-29 14:49:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-29 19:32:15 +0000 |
commit | c46e9b7cfd4fb82e93e1be4ea4edb509d6c41e0d (patch) | |
tree | badc0bd2843e53ad85e25bd72eccd372e509772a /src | |
parent | 03616574024a7f321e885e5ab6fc575746573109 (diff) |
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 <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/effects/GrCircleBlurFragmentProcessor.fp | 2 | ||||
-rw-r--r-- | src/gpu/effects/GrRRectBlurEffect.fp | 2 | ||||
-rw-r--r-- | src/gpu/effects/GrRectBlurEffect.fp | 2 |
3 files changed, 3 insertions, 3 deletions
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(); |