llvmpipe: disconnect vertex texture sampling from the setup
authorZack Rusin <zackr@vmware.com>
Tue, 6 Jul 2010 17:27:31 +0000 (13:27 -0400)
committerZack Rusin <zackr@vmware.com>
Tue, 6 Jul 2010 17:29:04 +0000 (13:29 -0400)
commit99c8d9b6dac55263b3f0ddce939173ec9a16cf80
treec107706b5ab90b0d7a06de125f7418ff6f10c85a
parentca88683459016d2cdc82175c718ee429e9440cf0
llvmpipe: disconnect vertex texture sampling from the setup

it was wrong to put this in the fs paths, but it was easier to just
stuff it along the fragment texture sampling paths. the patch
disconnects vertex texture sampling and just maps the textures
before the draw itself and unmaps them after.
src/gallium/drivers/llvmpipe/lp_context.h
src/gallium/drivers/llvmpipe/lp_draw_arrays.c
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_setup.h
src/gallium/drivers/llvmpipe/lp_setup_context.h
src/gallium/drivers/llvmpipe/lp_state.h
src/gallium/drivers/llvmpipe/lp_state_derived.c
src/gallium/drivers/llvmpipe/lp_state_sampler.c