Add ASTC to list of alpha compressed formats
authorkrajcevski <krajcevski@google.com>
Thu, 24 Jul 2014 15:16:00 +0000 (08:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 24 Jul 2014 15:16:01 +0000 (08:16 -0700)
R=bsalomon@google.com, robertphillips@google.com

Author: krajcevski@google.com

Review URL: https://codereview.chromium.org/412113004

include/gpu/GrTypes.h

index 0a73be9d85f7d5e581f9da161a6e315eacb411c7..f04a734c31bdd3066224de70f12902442398e4ce 100644 (file)
@@ -407,6 +407,7 @@ static inline bool GrPixelConfigIsAlphaOnly(GrPixelConfig config) {
     switch (config) {
         case kR11_EAC_GrPixelConfig:
         case kLATC_GrPixelConfig:
+        case kASTC_12x12_GrPixelConfig:
         case kAlpha_8_GrPixelConfig:
             return true;
         default: