[Mesa-dev] [PATCH 6/6] mesa: fix NUM_COMPRESSED_TEXTURE_FORMATS query
Marek Olšák
maraeo at gmail.com
Thu Oct 31 18:21:32 CET 2013
On Thu, Oct 31, 2013 at 6:19 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 10/31/2013 08:42 AM, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> Cc: mesa-stable at lists.freedesktop.org
>
> This is not correct. GL_COMPRESSED_TEXTURE_FORMATS is only supposed to
> return texture formats "suitable for general-purpose usage." Since
> GL_COMPRESSED_RGBA_S3TC_DXT1_EXT only has 1 bit for alpha, it's not
> suitable for general-purpose usage. As far as I'm aware, nobody else
> returns that format either... and I think we have a piglit test.
Yes, we have a piglit test which expects 4 formats, not 3.
Marek
More information about the mesa-dev
mailing list