[Mesa-dev] [PATCH 2/4] glapi: Add enums for ARB_ES3_compatibility

Eric Anholt eric at anholt.net
Thu Nov 29 15:59:01 PST 2012


Matt Turner <mattst88 at gmail.com> writes:

> On Thu, Nov 29, 2012 at 2:36 PM, Eric Anholt <eric at anholt.net> wrote:
>> Matt Turner <mattst88 at gmail.com> writes:
>>> +    <enum name="COMPRESSED_RGBA8_ETC2"                               value="0x9278"/>
>>> +    <enum name="COMPRESSED_SRGB8_ALPHA8_ETC2"                        value="0x9279"/>
>>
>> Looks like in the ES3_compatibility.txt these are
>> COMPRESSED_RGBA8_ETC2_EAC and COMPRESSED_SRGB8_ALPHA8_ETC2_EAC.  Pasteo?
>
> Yeah, weird. Consider it (and patch 5/4 fixed).
>
>>> +    <enum name="TEXTURE_IMMUTABLE_LEVELS"                    value="0x82DF"/>
>>
>> I don't see this one in my copy of the spec, but I only have a stale
>> copy of the specs while I'm offline at the moment.
>
> Added in revision 8, it looks like:
>
>     Rev.    Date    Author    Changes
>     ----  --------  --------  -----------------------------------------------
>     8     11/10/12  pdaniell  Add the missing token TEXTURE_IMMUTABLE_LEVELS
>                               from ARB_texture_view, which is in ES 3.0, and
>                               add language describing its behavior; add
>                               PRIMITIVE_RESTART_FIXED_INDEX to state tables
>                               (Bug 9559).
>
> Since it's from ARB_texture_view, is it okay to be in this xml file?

I think so, until we get ARB_texture_view.  Hopefully some day we start
generating enums.c from glext.h and these can go away.
-------------- 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/20121129/e099e728/attachment.pgp>


More information about the mesa-dev mailing list