[PATCH 6/7] glamor: Re-enable a8 textures for GLES2

Eric Anholt eric at anholt.net
Thu Jan 15 12:53:30 PST 2015


Maarten Lankhorst <maarten.lankhorst at ubuntu.com> writes:

> Hey,
>
> Op 13-01-15 om 03:48 schreef Eric Anholt:
>> Maarten Lankhorst <maarten.lankhorst at ubuntu.com> writes:
>>
>>> This will probably break PVR, but fixes other implementations.
>> GL ES 2.0.25 spec says: "Formats not listed in table 4.5, including
>> compressed internal formats. are not color-, depth-, or
>> stencil-renderable, no matter which components they contain."
>>
>> where table 4.5 has:
>> DEPTH_COMPONENT16
>> RGBA4
>> RGB5_A1
>> RGB565
>> STENCIL_INDEX8
>>
>> So if there's an extension that adds support for ALPHA, you should
>> probably be checking for that.
> I was looking at table 3.3 and 3.4, which does allow ALPHA.

If you want to take advantage of non-conformance of your driver, you
should at a minimum be testing if an FBO with APLHA is considered FBO
complete.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150116/4e092b31/attachment.sig>


More information about the xorg-devel mailing list