summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2008-06-07 14:17:36 +0200
committerNicolai Haehnle <nhaehnle@gmail.com>2008-06-07 18:34:44 +0200
commitbf1a7c884d02d4a59ad51a446dec3736959d8239 (patch)
tree9b0efdd5d52b7245b10b28d093267b7ad08fbe60
parent5e58e5d77792891fac953ff0ec30990f3e0ca854 (diff)
r300: Update LOD_BIAS register constants
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h
index 79f2fbfde7..5de5477242 100644
--- a/src/mesa/drivers/dri/r300/r300_reg.h
+++ b/src/mesa/drivers/dri/r300/r300_reg.h
@@ -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)