Merge "h/q/d: Add missing ASTC format"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
a6976555a1
@@ -508,6 +508,7 @@ size_t getSize(int format, int width, int height, const int alignedw,
|
||||
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:
|
||||
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
|
||||
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
|
||||
case HAL_PIXEL_FORMAT_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
|
||||
size = alignedw * alignedh * ASTC_BLOCK_SIZE;
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user