aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar krajcevski <krajcevski@google.com>2014-07-24 08:16:00 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-07-24 08:16:01 -0700
commit2a413df4dacaf00920d02ac1df290d789a48b64a (patch)
tree783e27c739aee635d2d814a768b750e35e21f778
parent8d84c995319dd4a82e4f2054bbd19f968c671ca6 (diff)
Add ASTC to list of alpha compressed formats
R=bsalomon@google.com, robertphillips@google.com Author: krajcevski@google.com Review URL: https://codereview.chromium.org/412113004
-rw-r--r--include/gpu/GrTypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h
index 0a73be9d85..f04a734c31 100644
--- a/include/gpu/GrTypes.h
+++ b/include/gpu/GrTypes.h
@@ -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: