Mesa (master): i965: Increase Sandybridge point size clamp in the clip state.

Kenneth Graunke kwg at kemper.freedesktop.org
Thu Feb 24 19:22:48 UTC 2011


Module: Mesa
Branch: master
Commit: e6e5c1f46d374015d924522ed0b2bf2443c3e6d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e6e5c1f46d374015d924522ed0b2bf2443c3e6d4

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>

---

 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 38c98f3..d6c1f1c 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