llvmpipe: consolidate the sampler and sampler view setting code
authorBrian Paul <brianp@vmware.com>
Sat, 4 Aug 2012 14:46:42 +0000 (08:46 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 6 Aug 2012 14:33:17 +0000 (08:33 -0600)
commit29604441deb6e94f6ced8c93b11fd8a3511f97f2
treec97a4b76b164461d77c37b2391abfcdde71f4b52
parentb3538d356316b282d6408f710f2df5f06bf315f5
llvmpipe: consolidate the sampler and sampler view setting code

Less code.  And as with softpipe, if/when we consolidate the pipe_context
functions for binding sampler state, this will make the llvmpipe changes
trivial.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_sampler.c