gallivm: checkpoint: nearest mipmap filtering
authorBrian Paul <brianp@vmware.com>
Tue, 9 Mar 2010 16:37:50 +0000 (09:37 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 9 Mar 2010 16:40:41 +0000 (09:40 -0700)
commit2ccae040a458ad0f95ee46916e2ea467d5cf9d02
tree176d693ba858c88cec6148915377a24b520f049e
parente0f10a6fca34619f61c3533b68d89dcb1ff2627c
gallivm: checkpoint: nearest mipmap filtering

The LOD is computed from texcoord partial derivatives and used to
select a mipmap level.  Still some bugs in texel fetching.  Lots of
rough edges and unfinished parts but the basics are in place.

Lots of changes to the lp_bld_arit.c code to support non-vector/scalar
datatypes.
src/gallium/auxiliary/gallivm/lp_bld_arit.c
src/gallium/auxiliary/gallivm/lp_bld_const.c
src/gallium/auxiliary/gallivm/lp_bld_logic.c
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c
src/gallium/auxiliary/gallivm/lp_bld_type.h