diff options
author | Dave Airlie <[email protected]> | 2011-11-27 16:21:02 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-11-28 09:40:53 +0000 |
commit | f449be660e70aac2aefd2ce84581e137de25520b (patch) | |
tree | a538a4e7992180705f01250424eead00452bdc33 /src/mesa/main/teximage.c | |
parent | 47e2e367170edec022481f1487cd980e00ef3203 (diff) |
mesa/format: add mesa MESA_FORMAT_ARGB2101010_UINT support.
This format is used in the ARB_texture_rgb10_a2ui spec.
It adds core mesa support, texformat + texstore support, format_unpack
and fbobject.c (all patches from list merged + fixed up).
also fixes some whitespace issues.
Parts were:
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 56335ad100b..2bc7abdc247 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -331,6 +331,7 @@ _mesa_base_tex_format( struct gl_context *ctx, GLint internalFormat ) case GL_RGBA8I_EXT: case GL_RGBA16I_EXT: case GL_RGBA32I_EXT: + case GL_RGB10_A2UI: return GL_RGBA; case GL_RGB8UI_EXT: case GL_RGB16UI_EXT: |