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
This commit is contained in:
krajcevski 2014-07-24 08:16:00 -07:00 committed by Commit bot
parent 8d84c99531
commit 2a413df4da

View 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: