commit | 9ac5b91957e59eeddebfae9630204f217c20cd4e | [log] [tgz] |
---|---|---|
author | brianosman <brianosman@google.com> | Tue Apr 12 13:49:53 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 12 13:49:53 2016 -0700 |
tree | 35321cad72c20184db8222c7996f61860b8829b9 | |
parent | 11a77c6e0634e2feb6fe4e74806db2fdd2a799ec [diff] |
Add missing F16 case to reverse pixel config conversion BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1884753002 Review URL: https://codereview.chromium.org/1884753002
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp index 84023ec..f1f48bc 100644 --- a/src/gpu/SkGr.cpp +++ b/src/gpu/SkGr.cpp
@@ -467,6 +467,9 @@ ct = kBGRA_8888_SkColorType; pt = kSRGB_SkColorProfileType; break; + case kRGBA_half_GrPixelConfig: + ct = kRGBA_F16_SkColorType; + break; default: return false; }