gallivm: overhaul of texture sampling code
authorBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 01:07:52 +0000 (18:07 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Mar 2010 01:09:49 +0000 (18:09 -0700)
commit67a2f98be79b368c316ebe6731112734d306b3f6
tree608eb9dc4d44dc6e4b13a954822b2be401cd9898
parenta599f552f2ee86004216fe062bf4885de9c9ae96
gallivm: overhaul of texture sampling code

The new lp_build_sample_general() function will handle all sampling
modes for all texture types.  Still incomplete, but a few additional
sampling modes are now supported.

1D textures should work and most of the code for 3D textures is in place.
No support for cube maps yet.  No support for different min/mag filters.
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c