Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-06-05 Thread Dave Airlie
On Fri, Jun 4, 2010 at 8:21 PM, Keith Whitwell wrote: > On Fri, 2010-06-04 at 03:10 -0700, Dave Airlie wrote: >> On Tue, Apr 27, 2010 at 9:13 PM, Dave Airlie wrote: >> > Another trying to figure out gallium patch from me, >> > >> > This is in theory EXT_texture_swizzle support, r300g passes the g

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-06-04 Thread Keith Whitwell
On Fri, 2010-06-04 at 03:10 -0700, Dave Airlie wrote: > On Tue, Apr 27, 2010 at 9:13 PM, Dave Airlie wrote: > > Another trying to figure out gallium patch from me, > > > > This is in theory EXT_texture_swizzle support, r300g passes the glean > > test with this now. > > > > Some caveats in the patc

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-06-04 Thread Dave Airlie
On Tue, Apr 27, 2010 at 9:13 PM, Dave Airlie wrote: > Another trying to figure out gallium patch from me, > > This is in theory EXT_texture_swizzle support, r300g passes the glean > test with this now. > > Some caveats in the patch (i.e. I'm not sure what exactly is correct > state tracker behavio

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-28 Thread Keith Whitwell
On Wed, 2010-04-28 at 02:26 -0700, Dave Airlie wrote: > On Wed, Apr 28, 2010 at 7:13 PM, Jose Fonseca wrote: > > No need to go into this blame game, especially not for this feature. Which > > is pretty easy to implement on svga pipe driver -- we already generate > > shader variants, so it is jus

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-28 Thread Dave Airlie
On Wed, Apr 28, 2010 at 7:13 PM, Jose Fonseca wrote: > No need to go into this blame game, especially not for this feature. Which is > pretty easy to implement on svga pipe driver -- we already generate shader > variants, so it is just the matter of baking a swizzle in there. This might > actua

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-28 Thread Jose Fonseca
s+jfonseca=vmware@lists.freedesktop.org] On Behalf Of Dave Airlie [airl...@gmail.com] Sent: Wednesday, April 28, 2010 3:26 To: Roland Scheidegger Cc: mesa-dev@lists.freedesktop.org Subject: Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle >> There's hw we care abou

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
On Wed, Apr 28, 2010 at 12:09 PM, Roland Scheidegger wrote: > On 27.04.2010 18:29, José Fonseca wrote: >> On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: >>> On 27.04.2010 17:32, Roland Scheidegger wrote: On 27.04.2010 13:13, Dave Airlie wrote: > Another trying to figure out

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
>>     There's hw we care about which can't do this (i965, svga) and >>     it seems unreasonable to expect them to do workarounds just so this >>     extension can be always exposed. >> >> >> With all respect, when I ask for a cap bit for an unsupported feature in >> the driver I work on, I am alw

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 18:29, José Fonseca wrote: > On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: >> On 27.04.2010 17:32, Roland Scheidegger wrote: >>> On 27.04.2010 13:13, Dave Airlie wrote: Another trying to figure out gallium patch from me, This is in theory EXT_texture_swiz

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 28.04.2010 01:42, Marek Olšák wrote: > > On Tue, Apr 27, 2010 at 5:32 PM, Roland Scheidegger > wrote: > > There's hw we care about which can't do this (i965, svga) and > it seems unreasonable to expect them to do workarounds just so this > extension can

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Marek Olšák
On Tue, Apr 27, 2010 at 5:32 PM, Roland Scheidegger wrote: > There's hw we care about which can't do this (i965, svga) and > it seems unreasonable to expect them to do workarounds just so this > extension can be always exposed. > With all respect, when I ask for a cap bit for an unsupported featu

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Corbin Simpson
Why do we need any caps for this? Unless I read the spec wrong, this is a mere SWZ following the affected texture lookup, in the worst case. Posting from a mobile, pardon my terseness. ~ C. On Apr 27, 2010 9:29 AM, "José Fonseca" wrote: On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrot

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread José Fonseca
On Tue, 2010-04-27 at 08:59 -0700, Roland Scheidegger wrote: > On 27.04.2010 17:32, Roland Scheidegger wrote: > > On 27.04.2010 13:13, Dave Airlie wrote: > >> Another trying to figure out gallium patch from me, > >> > >> This is in theory EXT_texture_swizzle support, r300g passes the glean > >> tes

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 17:32, Roland Scheidegger wrote: > On 27.04.2010 13:13, Dave Airlie wrote: >> Another trying to figure out gallium patch from me, >> >> This is in theory EXT_texture_swizzle support, r300g passes the glean >> test with this now. >> >> Some caveats in the patch (i.e. I'm not sure what

Re: [Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Roland Scheidegger
On 27.04.2010 13:13, Dave Airlie wrote: > Another trying to figure out gallium patch from me, > > This is in theory EXT_texture_swizzle support, r300g passes the glean > test with this now. > > Some caveats in the patch (i.e. I'm not sure what exactly is correct > state tracker behaviour wrt samp

[Mesa-dev] r300g + mesa/st support for EXT_texture_swizzle

2010-04-27 Thread Dave Airlie
Another trying to figure out gallium patch from me, This is in theory EXT_texture_swizzle support, r300g passes the glean test with this now. Some caveats in the patch (i.e. I'm not sure what exactly is correct state tracker behaviour wrt sampler views). Dave. 0001-mesa-st-add-support-for-EXT_