diff options
author | Chia-I Wu <olv@lunarg.com> | 2011-11-29 00:10:37 +0800 |
---|---|---|
committer | Chia-I Wu <olv@lunarg.com> | 2011-12-02 08:43:46 +0800 |
commit | 5c31eb78e5fa4c4cfcc82df3c9a2c34fcd4b402c (patch) | |
tree | 3b4b9ec72057762ab379b2a836173972edce8d2a /src/gallium/auxiliary/util/u_format.h | |
parent | d4a38e86d4b4d66cca20ee63222f940cb73fa709 (diff) | |
download | external_mesa3d-5c31eb78e5fa4c4cfcc82df3c9a2c34fcd4b402c.zip external_mesa3d-5c31eb78e5fa4c4cfcc82df3c9a2c34fcd4b402c.tar.gz external_mesa3d-5c31eb78e5fa4c4cfcc82df3c9a2c34fcd4b402c.tar.bz2 |
gallium: add PIPE_FORMAT_ETC1_RGB8
The format is defined by GL_OES_compressed_ETC1_RGB8_texture.
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/util/u_format.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_format.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index 99ee676..9694c90 100644 --- a/src/gallium/auxiliary/util/u_format.h +++ b/src/gallium/auxiliary/util/u_format.h @@ -70,9 +70,14 @@ enum util_format_layout { UTIL_FORMAT_LAYOUT_RGTC = 5, /** + * Ericsson Texture Compression + */ + UTIL_FORMAT_LAYOUT_ETC = 6, + + /** * Everything else that doesn't fit in any of the above layouts. */ - UTIL_FORMAT_LAYOUT_OTHER = 6 + UTIL_FORMAT_LAYOUT_OTHER = 7 }; |