[Mesa-dev] [PATCH 1/3] mesa/formats: add mesa MESA_FORMAT_ARGB2101010_UINT description.

Eric Anholt eric at anholt.net
Sun Nov 27 14:42:50 PST 2011


On Sun, 27 Nov 2011 19:27:15 +0000, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> This format is used in the ARB_texture_rgb10_a2ui spec.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/mesa/main/formats.c |   17 +++++++++++++++++
>  src/mesa/main/formats.h |    2 ++
>  2 files changed, 19 insertions(+), 0 deletions(-)

> diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h
> index 5f60186..8699092 100644
> --- a/src/mesa/main/formats.h
> +++ b/src/mesa/main/formats.h
> @@ -265,6 +265,8 @@ typedef enum
>     MESA_FORMAT_Z32_FLOAT,
>     MESA_FORMAT_Z32_FLOAT_X24S8,
>  
> +   MESA_FORMAT_ARGB2101010_UINT,
> +
>     MESA_FORMAT_COUNT
>  } gl_format;

Hmm, are we at the point yet where we can safely put new enums somewhere
more sensible than "at the end of the list"?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111127/b1f2f124/attachment.pgp>


More information about the mesa-dev mailing list