gallivm: Compute lod as integer whenever possible.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Oct 2010 17:44:51 +0000 (18:44 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 6 Oct 2010 17:51:25 +0000 (18:51 +0100)
commit87dd859b342b844add906358810445da21b6b092
treef36dd3bf9f2213917bc9764b5b1aaf24b1108065
parent1c32583581ef5aee59901d9dd8e56cc1a125f0d4
gallivm: Compute lod as integer whenever possible.

More accurate/faster results for PIPE_TEX_MIPFILTER_NEAREST. Less
FP <-> SI conversion overall.
src/gallium/auxiliary/gallivm/lp_bld_sample.c
src/gallium/auxiliary/gallivm/lp_bld_sample.h
src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c