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 jfons...@vmware.com 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

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,

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

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 same

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 airl...@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

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 step before

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 airl...@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

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

2010-05-02 Thread Jose Fonseca
-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 airl...@gmail.com wrote: In looking at adding EXT_texture_swizzle I'm a bit confused about what exactly should happen with BGRA