i965: Fix AA Line Distance Mode in 3DSTATE_SF on Ivybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 8 Nov 2012 12:13:26 +0000 (04:13 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 10 Nov 2012 20:14:23 +0000 (12:14 -0800)
commite639385064663ba401544de5dbd463fa7f6cce2d
treefd94f211073843aac455017b071b295a0b92e155
parent5581954c3aa0c2418440700b3763882e37728914
i965: Fix AA Line Distance Mode in 3DSTATE_SF on Ivybridge.

We were accidentally setting bit 14 in DWord 2 (which is Reserved/MBZ)
rather than bit 14 in DWord 3 (which is AA Line Distance Mode).

There's also no reason to ever set it to legacy mode; the bit is only
used when drawing antialiased lines anyway.  Set it unconditionally.

NOTE: This is a candidate for stable branches.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_sf_state.c