Re: [Mesa-dev] [PATCH] i965: Don't set the sampler count in 3DSTATE_VS.

2012-02-13 Thread Eric Anholt
On Sun, 12 Feb 2012 01:13:21 -0800, Kenneth Graunke wrote: > On 02/11/2012 01:13 PM, Eric Anholt wrote: > > On Fri, 10 Feb 2012 22:24:08 -0800, Kenneth Graunke > > wrote: > >> We don't want to use brw->sampler.count here, as it includes samplers > >> used only by the FS...which is most of them.

Re: [Mesa-dev] [PATCH] i965: Don't set the sampler count in 3DSTATE_VS.

2012-02-12 Thread Kenneth Graunke
On 02/11/2012 01:13 PM, Eric Anholt wrote: On Fri, 10 Feb 2012 22:24:08 -0800, Kenneth Graunke wrote: We don't want to use brw->sampler.count here, as it includes samplers used only by the FS...which is most of them. This also lets us drop the CACHE_NEW_SAMPLER dirty bit on Gen6. My plan fo

Re: [Mesa-dev] [PATCH] i965: Don't set the sampler count in 3DSTATE_VS.

2012-02-11 Thread Eric Anholt
On Fri, 10 Feb 2012 22:24:08 -0800, Kenneth Graunke wrote: > We don't want to use brw->sampler.count here, as it includes samplers > used only by the FS...which is most of them. > > This also lets us drop the CACHE_NEW_SAMPLER dirty bit on Gen6. My plan for samplers was that we can just look at

[Mesa-dev] [PATCH] i965: Don't set the sampler count in 3DSTATE_VS.

2012-02-10 Thread Kenneth Graunke
We don't want to use brw->sampler.count here, as it includes samplers used only by the FS...which is most of them. This also lets us drop the CACHE_NEW_SAMPLER dirty bit on Gen6. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen6_vs_state.c |5 ++--- src/mesa/drivers/dri/i965