Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index 62b7ff14ea74ad4c6398e63386f4cccd37cd5e08..e4dc467e7f8b9ce2ccd27d5957f505371a515063 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -318,6 +318,8 @@ GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType ct, SkAlphaType, SkColorProf |
return kIndex_8_GrPixelConfig; |
case kGray_8_SkColorType: |
return kAlpha_8_GrPixelConfig; // TODO: gray8 support on gpu |
+ case kRGBA_F16_SkColorType: |
+ return kRGBA_half_GrPixelConfig; |
} |
SkASSERT(0); // shouldn't get here |
return kUnknown_GrPixelConfig; |