svga: avoid emitting redundant DXSetSamplers command
authorCharmaine Lee <charmainel@vmware.com>
Tue, 16 Aug 2016 01:35:28 +0000 (18:35 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
commit3f51a3f6ac2aad0400e25ef6f772ff9c4b240d5f
tree89532be17dc2d46015fe95211d77ed3e4dfbab83
parent6a43148e202806b210c6aaf5c65b92916bc01581
svga: avoid emitting redundant DXSetSamplers command

This patch avoid emitting redundant DXSetSamplers command.

Tested with Lightsmark2008, Heaven, MTT piglit, glretrace, viewperf.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_context.c
src/gallium/drivers/svga/svga_state_sampler.c