OSDN Git Service

svga: fix min/max lod clamping
authorBrian Paul <brianp@vmware.com>
Wed, 18 Jan 2012 17:06:42 +0000 (10:06 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Jan 2012 17:44:05 +0000 (10:44 -0700)
commitfd890873b20de553078fc96d977fbd858238c7d9
tree92cda60ae8ade079461fce85f0f29489b2d52bfd
parent5abcd198b8e644c0d97c6766c6707e20fe22f0fb
svga: fix min/max lod clamping

The interaction between the mipmap lod min/max limits and the texture
base/max level limits is kind of tricky.  Changing the base level
didn't work as expected before.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_state_tss.c