diff options
author | Kenneth Graunke <[email protected]> | 2017-04-26 14:27:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-04-28 17:03:33 -0700 |
commit | 4878ab9bd4281c4554254bbb0c62faae453bb863 (patch) | |
tree | 570969916f8d2a50255f249b25b1e8cffd3ba70f | |
parent | b625bcc601a16fab1962f9ed569700d3d08738b9 (diff) |
i965: Always set AALINEDISTANCE_TRUE on Sandybridge.
We set this unconditionally on every other platform. Zero (Manhattan)
isn't even listed as an option in the Sandybridge docs - only "true".
Reviewed-by: Plamena Manolova <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/gen6_sf_state.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_sf_state.c b/src/mesa/drivers/dri/i965/gen6_sf_state.c index dd547790c9a..0f118b6678b 100644 --- a/src/mesa/drivers/dri/i965/gen6_sf_state.c +++ b/src/mesa/drivers/dri/i965/gen6_sf_state.c @@ -286,7 +286,7 @@ upload_sf_state(struct brw_context *brw) dw1 = GEN6_SF_SWIZZLE_ENABLE | num_outputs << GEN6_SF_NUM_OUTPUTS_SHIFT; dw2 = GEN6_SF_STATISTICS_ENABLE; - dw3 = GEN6_SF_SCISSOR_ENABLE; + dw3 = GEN6_SF_SCISSOR_ENABLE | GEN6_SF_LINE_AA_MODE_TRUE; dw4 = 0; if (brw->sf.viewport_transform_enable) @@ -365,7 +365,6 @@ upload_sf_state(struct brw_context *brw) } if (ctx->Line.SmoothFlag) { dw3 |= GEN6_SF_LINE_AA_ENABLE; - dw3 |= GEN6_SF_LINE_AA_MODE_TRUE; dw3 |= GEN6_SF_LINE_END_CAP_WIDTH_1_0; } /* _NEW_MULTISAMPLE */ |