From 0872b042b13388bc870a3acf167a6ce692b734dd Mon Sep 17 00:00:00 2001 From: Nanley Chery Date: Fri, 7 Aug 2015 14:36:23 -0700 Subject: mesa/formats: add more MESA_FORMAT_LAYOUTs Add the classes of compressed formats as layouts. This allows the detection of compressed formats belonging to a certain category of compressed formats. v2. simplify layout name construction (Ilia). Reviewed-by: Chad Versace Signed-off-by: Nanley Chery --- src/mesa/main/formats.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/formats.h') diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index d938e6ad513..d267d3b8a1f 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -64,6 +64,12 @@ extern "C" { enum mesa_format_layout { MESA_FORMAT_LAYOUT_ARRAY, MESA_FORMAT_LAYOUT_PACKED, + MESA_FORMAT_LAYOUT_S3TC, + MESA_FORMAT_LAYOUT_RGTC, + MESA_FORMAT_LAYOUT_FXT1, + MESA_FORMAT_LAYOUT_ETC1, + MESA_FORMAT_LAYOUT_ETC2, + MESA_FORMAT_LAYOUT_BPTC, MESA_FORMAT_LAYOUT_OTHER, }; -- cgit v1.2.3