[Mesa-dev] gallium-bind-sampler-states branch

Brian Paul brianp at vmware.com
Fri Sep 27 09:52:04 PDT 2013


On 09/12/2013 06:46 PM, Brian Paul wrote:
>
> I just pushed a gallium-bind-sampler-states branch to my git repo at
> git://people.freedesktop.org/~brianp/mesa
>
> It replaces the four
> pipe_context::bind_fragment/vertex/geometry/compute_sampler_states()
> functions with a single bind_sampler_states() function:
>
>   void (*bind_sampler_states)(struct pipe_context *,
>                               unsigned shader, unsigned start_slot,
>                               unsigned num_samplers, void **samplers);
>
> At this point start_slot is always zero (at least for non-compute
> shaders).  And as the updated gallium docs explain, at some point calls
> to bind_sampler_states() will be used to updated sub-ranges, but that
> never happens currently.
>
> I've updated all the drivers, state trackers, utils, etc.
>
> I've tested the svga, llvmpipe and softpipe drivers.  'make check' and a
> texture subset of piglit pass w/out regressions.  I'd appreciate it if
> other driver developers would test their favorite driver.

OK, I've gotten a few thumbs up on this change but no actual 
Reviewed-by.  I'd like to push this master in the next few days.  If 
there's no other feedback I'll do so on Monday or so.

-Brian



More information about the mesa-dev mailing list