meta: Add sampler object to texture decompression
authorPauli Nieminen <pauli.nieminen@linux.intel.com>
Tue, 12 Jun 2012 18:39:00 +0000 (21:39 +0300)
committerEric Anholt <eric@anholt.net>
Wed, 1 Aug 2012 22:57:12 +0000 (15:57 -0700)
commit676a563d5bdcd9c75e1e33d75e2fa16bedcf5e83
treeac3ac9d65957e182b3a9d69f84d267efa1110ca0
parent5a320d5bcfb66afca6fe9fe5da133c2675ab4d27
meta: Add sampler object to texture decompression

Sampler objects can be used to shadow texture object state without
modifying original application state. Decompression path feels a bit
like path where caching shouldn't happen. But as everything else is
cached already I decided to cache sampler state too.

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c