i965: Increase Sandybridge point size clamp in the clip state.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Feb 2011 19:17:02 +0000 (11:17 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 24 Feb 2011 19:23:08 +0000 (11:23 -0800)
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@anholt.net>
src/mesa/drivers/dri/i965/gen6_clip_state.c

index 38c98f30efbeac309f4d5105c8d176a840201d87..d6c1f1c893d1b54a7b058b0a45a7cecc4025bcf3 100644 (file)
@@ -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();
 }