swrast: add lod bias when texture sampling
authorBrian Paul <brianp@vmware.com>
Wed, 23 Sep 2009 19:35:03 +0000 (13:35 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Sep 2009 19:36:44 +0000 (13:36 -0600)
commit2acd5de22651a3461c0576107c8e8fab1f01469a
tree285674fab837c620d62fb3116900e085e5f49451
parent890f37d4d96471a5c3d8ae286dfc13ad18ff78e5
swrast: add lod bias when texture sampling

Mostly fixes progs/demos/lodbias when MESA_TEX_PROG=1.  But the LOD still
seems off by -1 or so.
May be an issue with the params passed to _swrast_compute_lambda()
src/mesa/swrast/s_fragprog.c