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

Eric Anholt eric at anholt.net
Sat Feb 11 13:13:56 PST 2012


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120211/a47ea26d/attachment.pgp>


More information about the mesa-dev mailing list