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

2010-05-03 Thread José Fonseca
On Mon, 2010-05-03 at 10:29 -0700, José Fonseca wrote: > On Mon, 2010-05-03 at 09:44 -0700, Brian Paul wrote: > > Jose Fonseca wrote: > > > I read the extension and it is not crystal clear, but it seems to imply > > > the swizzles are orthogonal to the format, and applied as the very last > > > s

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

2010-05-03 Thread Brian Paul
Dave Airlie wrote: On Sat, May 1, 2010 at 6:47 PM, Dave Airlie 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 su

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

2010-05-03 Thread José Fonseca
On Mon, 2010-05-03 at 09:44 -0700, Brian Paul wrote: > Jose Fonseca wrote: > > I read the extension and it is not crystal clear, but it seems to imply the > > swizzles are orthogonal to the format, and applied as the very last step > > before being used in a shader. That is, the semantics are the

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

2010-05-03 Thread Brian Paul
Dave Airlie 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 enhancmen

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

2010-05-03 Thread Brian Paul
Jose Fonseca wrote: I read the extension and it is not crystal clear, but it seems to imply the swizzles are orthogonal to the format, and applied as the very last step before being used in a shader. That is, the semantics are the same of adding a swizzle instruction after a TEX opcode, regardless

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

2010-05-03 Thread Roland Scheidegger
On 02.05.2010 13:08, José Fonseca wrote: > On Sun, 2010-05-02 at 02:36 -0700, Dave Airlie wrote: >> On Sun, May 2, 2010 at 7:30 PM, Jose Fonseca >> wrote: >>> I read the extension and it is not crystal clear, but it seems to >>> imply the swizzles are orthogonal to the format, and applied as >>> t

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

2010-05-02 Thread José Fonseca
On Sun, 2010-05-02 at 02:36 -0700, Dave Airlie wrote: > On Sun, May 2, 2010 at 7:30 PM, Jose Fonseca wrote: > > I read the extension and it is not crystal clear, but it seems to imply the > > swizzles are orthogonal to the format, and applied as the very last step > > before being used in a shad

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

2010-05-02 Thread Dave Airlie
On Sun, May 2, 2010 at 7:30 PM, Jose Fonseca wrote: > I read the extension and it is not crystal clear, but it seems to imply the > swizzles are orthogonal to the format, and applied as the very last step > before being used in a shader. That is, the semantics are the same of adding > a swizzle

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

2010-05-02 Thread Jose Fonseca
mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] EXT_tetxure_swizzle and BGRA textures : glean test enhancement On Sat, May 1, 2010 at 6:47 PM, Dave Airlie wrote: > In looking at adding EXT_texture_swizzle I'm a bit confused about what > exactly should happen with BGRA text

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

2010-05-02 Thread Dave Airlie
On Sat, May 1, 2010 at 6:47 PM, Dave Airlie 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

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

2010-05-01 Thread Dave Airlie
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