r300: Update LOD_BIAS register constants
authorNicolai Haehnle <nhaehnle@gmail.com>
Sat, 7 Jun 2008 12:17:36 +0000 (14:17 +0200)
committerNicolai Haehnle <nhaehnle@gmail.com>
Sat, 7 Jun 2008 16:34:44 +0000 (18:34 +0200)
src/mesa/drivers/dri/r300/r300_reg.h

index 79f2fbfde77d82cf2895c7077d889d18212d384f..5de547724233da595af61266ca1c33894763ff75 100644 (file)
@@ -1395,7 +1395,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #      define R300_CHROMA_KEY_BLEND           2
 #      define R300_MC_ROUND_NORMAL            (0<<2)
 #      define R300_MC_ROUND_MPEG4             (1<<2)
-#      define R300_LOD_BIAS_MASK           0x1fff
+#      define R300_LOD_BIAS_SHIFT             3
+#      define R300_LOD_BIAS_MASK              0x1ff8
 #      define R300_EDGE_ANISO_EDGE_DIAG       (0<<13)
 #      define R300_EDGE_ANISO_EDGE_ONLY       (1<<13)
 #      define R300_MC_COORD_TRUNCATE_DISABLE  (0<<14)