From 0821efcb333ed2af639561f0ae77220ed4710559 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Mon, 16 Feb 2015 02:25:52 -0500 Subject: gallium: add ETC2 format support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No actual decoding is added, similar faking mechanism to bptc. Signed-off-by: Ilia Mirkin Reviewed-by: Marek Olšák --- src/gallium/include/pipe/p_format.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/gallium/include') diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index 3f505f2d3f5..b2646d44c74 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -348,6 +348,17 @@ enum pipe_format { PIPE_FORMAT_A8B8G8R8_SNORM = 267, PIPE_FORMAT_X8B8G8R8_SNORM = 268, + PIPE_FORMAT_ETC2_RGB8 = 269, + PIPE_FORMAT_ETC2_SRGB8 = 270, + PIPE_FORMAT_ETC2_RGB8A1 = 271, + PIPE_FORMAT_ETC2_SRGB8A1 = 272, + PIPE_FORMAT_ETC2_RGBA8 = 273, + PIPE_FORMAT_ETC2_SRGBA8 = 274, + PIPE_FORMAT_ETC2_R11_UNORM = 275, + PIPE_FORMAT_ETC2_R11_SNORM = 276, + PIPE_FORMAT_ETC2_RG11_UNORM = 277, + PIPE_FORMAT_ETC2_RG11_SNORM = 278, + PIPE_FORMAT_COUNT }; -- cgit v1.2.3