On 09/29/2011 08:06 PM, Eric Anholt wrote:
On Thu, 29 Sep 2011 14:24:45 -0600, Brian Paul<brian.e.p...@gmail.com> wrote:
From: Brian Paul<bri...@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?
Yes, good catch. I'll re-post with the change.
-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev