st/mesa: fix sampler max_lod computation
authorBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 19:04:47 +0000 (13:04 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 7 Jul 2010 19:05:35 +0000 (13:05 -0600)
commit9755539116fd0b818cc0636a6d6ed10b19b639be
treeee57ac53c15ebe9171859f13d236a1a604471df0
parent51c438feb765cf03d1a6448295e6c62be61a5e56
st/mesa: fix sampler max_lod computation

This change makes gallium behave like other GL implementations and fixes
a conformance failure.
src/mesa/state_tracker/st_atom_sampler.c