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
This commit is contained in:
brianosman 2016-04-12 13:49:53 -07:00 committed by Commit bot
parent 11a77c6e06
commit 9ac5b91957

View File

@ -467,6 +467,9 @@ bool GrPixelConfig2ColorAndProfileType(GrPixelConfig config, SkColorType* ctOut,
ct = kBGRA_8888_SkColorType;
pt = kSRGB_SkColorProfileType;
break;
case kRGBA_half_GrPixelConfig:
ct = kRGBA_F16_SkColorType;
break;
default:
return false;
}