gallivm: use trunc, not round in lp_build_nearest_mip_level()
authorBrian Paul <brianp@vmware.com>
Tue, 6 Jul 2010 19:22:54 +0000 (13:22 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 6 Jul 2010 19:22:57 +0000 (13:22 -0600)
commite503af4baa2c709ae5743bb278b277d3faaba076
treec9d6dad2a3bbf8b690166e93ec6e592fb019d79a
parent7743791da03388ad8ba5bb50faa2f7cda47aafef
gallivm: use trunc, not round in lp_build_nearest_mip_level()

Fixes fd.o bug 28036 (piglit fbo-cubemap.c regression)
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c