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

Kenneth Graunke kenneth at whitecape.org
Sun Feb 12 01:13:21 PST 2012

On 02/11/2012 01:13 PM, Eric Anholt wrote:
> On Fri, 10 Feb 2012 22:24:08 -0800, Kenneth Graunke<kenneth at whitecape.org>  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 what our program uses
> at compile time and save that in prog_data, so it would be
> CACHE_NEW_{VS,WM}_PROG instead.

I like that idea.

More information about the mesa-dev mailing list