diff options
author | Eric Anholt <[email protected]> | 2010-10-06 17:29:29 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-10-06 17:29:29 -0700 |
commit | d3163912c1f15fcb44beb33c5069799d56e1dc16 (patch) | |
tree | 0fd1df388961b1f51b012f60d07bff00105b52d2 /src/mesa/drivers | |
parent | b380531fd40e0876218b1116502bafea7911bd3d (diff) |
i965: Fix gen6 pointsize handling to match pre-gen6.
Fixes point-line-no-cull.
Bug #30532
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sf_state.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index 6c883381958..b2a6bd04e2f 100644 --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c @@ -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) << |