Mesa (7.10): i965: Increase Sandybridge point size clamp in the clip state.
Ian Romanick
idr at kemper.freedesktop.org
Tue Mar 1 01:37:16 UTC 2011
Module: Mesa
Branch: 7.10
Commit: 022f1110dd4d6d2dbb062ce36d4ae420eb39082c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=022f1110dd4d6d2dbb062ce36d4ae420eb39082c
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Feb 24 11:17:02 2011 -0800
i965: Increase Sandybridge point size clamp in the clip state.
255.875 matches the hardware documentation. Presumably this was a typo.
NOTE: This is a candidate for the 7.10 branch, along with
commit 2bfc23fb86964e4153f57f2a56248760f6066033.
Reviewed-by: Eric Anholt <eric at anholt.net>
(cherry picked from commit e6e5c1f46d374015d924522ed0b2bf2443c3e6d4)
---
src/mesa/drivers/dri/i965/gen6_clip_state.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen6_clip_state.c b/src/mesa/drivers/dri/i965/gen6_clip_state.c
index e25d1bf..ec064a7 100644
--- a/src/mesa/drivers/dri/i965/gen6_clip_state.c
+++ b/src/mesa/drivers/dri/i965/gen6_clip_state.c
@@ -68,7 +68,7 @@ upload_clip_state(struct brw_context *brw)
depth_clamp |
provoking);
OUT_BATCH(U_FIXED(0.125, 3) << GEN6_CLIP_MIN_POINT_WIDTH_SHIFT |
- U_FIXED(225.875, 3) << GEN6_CLIP_MAX_POINT_WIDTH_SHIFT |
+ U_FIXED(255.875, 3) << GEN6_CLIP_MAX_POINT_WIDTH_SHIFT |
GEN6_CLIP_FORCE_ZERO_RTAINDEX);
ADVANCE_BATCH();
}
More information about the mesa-commit
mailing list