summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/i830_reg.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-01-05 14:48:05 -0800
committerEric Anholt <eric@anholt.net>2011-01-05 14:50:27 -0800
commit39cc0ee3eaf0d0cae70d91ae33961053782662c8 (patch)
tree0de01fd73a939aed8a17651aacc16d0626e02894 /src/mesa/drivers/dri/i915/i830_reg.h
parent973e821a633031fe5a8608b50beabb10af21430e (diff)
i915: Enable LOD preclamping on 8xx like on 915/965.
Fixes lodclamp-between and lodclamp-between-max.
Diffstat (limited to 'src/mesa/drivers/dri/i915/i830_reg.h')
-rw-r--r--src/mesa/drivers/dri/i915/i830_reg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_reg.h b/src/mesa/drivers/dri/i915/i830_reg.h
index 4144249070..99ee1bb4e9 100644
--- a/src/mesa/drivers/dri/i915/i830_reg.h
+++ b/src/mesa/drivers/dri/i915/i830_reg.h
@@ -585,6 +585,8 @@
#define TM0S2_VERITCAL_LINE_STRIDE_OFF (1<<12)
#define TM0S2_OUTPUT_CHAN_SHIFT 10
#define TM0S2_OUTPUT_CHAN_MASK (3<<10)
+#define TM0S2_BASE_MIP_LEVEL_SHIFT 1
+#define TM0S2_LOD_PRECLAMP (1 << 0)
#define TM0S3_MIP_FILTER_MASK (0x3<<30)
#define TM0S3_MIP_FILTER_SHIFT 30