From 705216dbed6dbeebb288d2f5f1427300abbcf58c Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Thu, 11 Feb 2016 10:37:22 -0800 Subject: mesa: Add mesa formats for astc 3d formats Signed-off-by: Anuj Phogat Reviewed-by: Brian Paul --- src/mesa/main/formats.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index c6653bc5984..b88466f0368 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -635,6 +635,27 @@ typedef enum MESA_FORMAT_SRGB8_ALPHA8_ASTC_10x10, MESA_FORMAT_SRGB8_ALPHA8_ASTC_12x10, MESA_FORMAT_SRGB8_ALPHA8_ASTC_12x12, + + MESA_FORMAT_RGBA_ASTC_3x3x3, + MESA_FORMAT_RGBA_ASTC_4x3x3, + MESA_FORMAT_RGBA_ASTC_4x4x3, + MESA_FORMAT_RGBA_ASTC_4x4x4, + MESA_FORMAT_RGBA_ASTC_5x4x4, + MESA_FORMAT_RGBA_ASTC_5x5x4, + MESA_FORMAT_RGBA_ASTC_5x5x5, + MESA_FORMAT_RGBA_ASTC_6x5x5, + MESA_FORMAT_RGBA_ASTC_6x6x5, + MESA_FORMAT_RGBA_ASTC_6x6x6, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_3x3x3, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x3x3, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x3, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_4x4x4, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x4x4, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x4, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_5x5x5, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x5x5, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x5, + MESA_FORMAT_SRGB8_ALPHA8_ASTC_6x6x6, MESA_FORMAT_COUNT } mesa_format; -- cgit v1.2.3