From 39cc0ee3eaf0d0cae70d91ae33961053782662c8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 5 Jan 2011 14:48:05 -0800 Subject: i915: Enable LOD preclamping on 8xx like on 915/965. Fixes lodclamp-between and lodclamp-between-max. --- src/mesa/drivers/dri/i915/i830_reg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i915/i830_reg.h') 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 -- cgit v1.2.3