[Mesa-dev] EXT_tetxure_swizzle and BGRA textures : glean test enhancement

Dave Airlie airlied at gmail.com
Sun May 2 02:01:46 PDT 2010


On Sat, May 1, 2010 at 6:47 PM, Dave Airlie <airlied at gmail.com> wrote:
> In looking at adding EXT_texture_swizzle I'm a bit confused about what
> exactly should happen with BGRA textures, as on r300 we use the
> texture swizzling to do BGRA, so we would have some interaction at
> that point.
>
> To make sure we test for this I've made the following enhancments to
> the glean test (in piglit tree - but I'll resubmit against glean tree
> if correct).
>
> Can someone with a clue make sure this is a sane test, it passes
> against swrast..
>

Hmm on a second look inside mesa, it appears it never stores textures
internally as BGRA, it always does a swizzle translate on the way in,
so this test won't help me there, I'll have to think up something a
bit more intricate to test this stuff.

Dave.


More information about the mesa-dev mailing list