svga: avoid emitting redundant SetShaderResource command
authorCharmaine Lee <charmainel@vmware.com>
Wed, 17 Aug 2016 23:50:23 +0000 (16:50 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
commit2781d603753148771c1a706150b7a9a54592befe
tree9f366e0788e3c73e97a453c8b4bd948d65d32230
parent5313b294e68f6b03e6b26930c68fbb30ae16e7c4
svga: avoid emitting redundant SetShaderResource command

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

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