diff options
author | Ilia Mirkin <[email protected]> | 2015-02-16 02:25:52 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-02-18 22:32:25 -0500 |
commit | 0821efcb333ed2af639561f0ae77220ed4710559 (patch) | |
tree | 118e5e1ac231a090e5037190aabc75de3e957a45 /src/gallium/include | |
parent | d622afdbc3999a4675cf0c343d5ee7863736c40a (diff) |
gallium: add ETC2 format support
No actual decoding is added, similar faking mechanism to bptc.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_format.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 }; |