gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()
authorBrian Paul <brianp@vmware.com>
Mon, 15 Mar 2010 16:51:56 +0000 (10:51 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 15 Mar 2010 16:51:58 +0000 (10:51 -0600)
commit1d6d51413e546299010666ef64ce7e6c4a92064d
tree58c9616600924d2dd9f87c47994cf4fb4bc4ccf7
parentb9a81b626a4659d6d611516c8afea012d39b0e4a
gallivm: add min_lod==max_lod special-case code in lp_build_lod_selector()

When min_lod==max_lod we don't need to go through all the work of
computing the lod from partial derivatives.  This is hit by the mipmap
generation utility code.
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c