Index: include/gpu/GrColor.h |
diff --git a/include/gpu/GrColor.h b/include/gpu/GrColor.h |
index 1994cc501076f8763c0d2e6013196bb13bbf0384..0e636e1b8fbd9013f2909594b650b7d391efe68f 100644 |
--- a/include/gpu/GrColor.h |
+++ b/include/gpu/GrColor.h |
@@ -134,6 +134,7 @@ static inline uint32_t GrPixelConfigComponentMask(GrPixelConfig config) { |
kRGBA_GrColorComponentFlags, // kBGRA_8888_GrPixelConfig |
kRGB_GrColorComponentFlags, // kETC1_GrPixelConfig |
kA_GrColorComponentFlag, // kLATC_GrPixelConfig |
+ kA_GrColorComponentFlag, // kR11_EAC_GrPixelConfig |
}; |
return kFlags[config]; |
@@ -146,6 +147,7 @@ static inline uint32_t GrPixelConfigComponentMask(GrPixelConfig config) { |
GR_STATIC_ASSERT(6 == kBGRA_8888_GrPixelConfig); |
GR_STATIC_ASSERT(7 == kETC1_GrPixelConfig); |
GR_STATIC_ASSERT(8 == kLATC_GrPixelConfig); |
+ GR_STATIC_ASSERT(9 == kR11_EAC_GrPixelConfig); |
GR_STATIC_ASSERT(SK_ARRAY_COUNT(kFlags) == kGrPixelConfigCnt); |
} |