i965: Fix gen6 pointsize handling to match pre-gen6.

Fixes point-line-no-cull.
Bug #30532
This commit is contained in:
Eric Anholt
2010-10-06 17:29:29 -07:00
parent b380531fd4
commit d3163912c1
+2 -1
View File
@@ -125,7 +125,8 @@ upload_sf_state(struct brw_context *brw)
}
/* _NEW_POINT */
if (ctx->Point._Attenuated)
if (!(ctx->VertexProgram.PointSizeEnabled ||
ctx->Point._Attenuated))
dw4 |= GEN6_SF_USE_STATE_POINT_WIDTH;
dw4 |= U_FIXED(CLAMP(ctx->Point.Size, 0.125, 225.875), 3) <<