svga: add a cleanup function to clean up sampler state
authorCharmaine Lee <charmainel@vmware.com>
Wed, 17 Aug 2016 21:53:38 +0000 (14:53 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
commit5313b294e68f6b03e6b26930c68fbb30ae16e7c4
tree905b31b38d28712ecbf2933885eece81eed7afa4
parente292f38c6c2aba28299b988ec4654b7c02d9adb8
svga: add a cleanup function to clean up sampler state

This patch adds a cleanup function to clean up sampler state at
context destruction time.

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