[Mesa-dev] [PATCH 1/4] meta: fix GetTexImage() for compressed luminance, l/a, intensity formats
Eric Anholt
eric at anholt.net
Thu Sep 29 19:06:42 PDT 2011
On Thu, 29 Sep 2011 14:24:45 -0600, Brian Paul <brian.e.paul at gmail.com> wrote:
> From: Brian Paul <brianp at vmware.com>
>
> The GL spec says that luminance values are returned as (l, 0, 0, 1),
> L/A values as (l, 0, 0, a) and intensity values as (i, 0, 0, 1).
> Use the pixel transfer scale controls to implement that.
> This fixes a few failures in the new piglit getteximage-formats
> test when getting a compressed L or L/A image.
This should be keyed off of the texture image's base internal format,
not the base format of the texture format the driver happens to be
storing the texture data in, right?
(3.2 compat spec, page 374)
-------------- 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/20110929/0086e4af/attachment.pgp>
More information about the mesa-dev
mailing list