case COMPRESSED_SRGB8_ETC2:
case COMPRESSED_RGB8_ETC1:
case COMPRESSED_RGB_PVRTC_4BPPV1:
+ case INVALID:
{
return false;
}
case COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
case COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
case COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
+ case INVALID:
{
DALI_LOG_ERROR("Pixel formats for compressed images do not have meaningful integer bits per pixel values.\n");
return 0;
case COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:
case COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:
case COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:
+ case INVALID:
{
DALI_LOG_ERROR("Pixel formats for compressed images are not compatible with simple masking-out of per-pixel alpha.\n");
byteOffset=0;