cso: refactor texture sampler and sampler view code
authorBrian Paul <brianp@vmware.com>
Thu, 3 Feb 2011 03:19:51 +0000 (20:19 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Feb 2011 03:28:00 +0000 (20:28 -0700)
commitc06fa98c86abbff730a098ffbe980347b3c7d0e6
treeacbbbe3fb4793aecbee1b157d55c8248d1f92e60
parent5f30e0b2316c5d0a50f1b331e7cdb4c46882e918
cso: refactor texture sampler and sampler view code

This consolidates the code duplicated between the fragment sampler
and vertex sampler functions.  Plus, it'll make adding support for
geometry shader samplers trivial.
src/gallium/auxiliary/cso_cache/cso_context.c