On Fri, 2010-06-04 at 03:10 -0700, Dave Airlie wrote: > On Tue, Apr 27, 2010 at 9:13 PM, Dave Airlie <airl...@gmail.com> 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 sampler views). > > Just realised I still have this sitting in my tree here, > > Updated version. only open question was whether we need a cap bit, vs > drivers just modifying their frag shaders. > > Dave.
This looks good - supporting this extension was the intention behind adding swizzles to sampler views, so it's just as well (or about time) that someone's actually implemented that... In this case it should be easy to add a cap and tie it to the decision to advertise the extension or not. I'm not really excited by the thought of thousands of proliferating cap bits, but at least this one doesn't result in spaghetti in the state tracker. Keith _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev