OSDN Git Service

i965/gen7: fix 3DSTATE_LINE_STIPPLE_PATTERN
authorChia-I Wu <olvaffe@gmail.com>
Wed, 10 Apr 2013 13:32:13 +0000 (21:32 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 24 Apr 2013 19:56:17 +0000 (12:56 -0700)
commit75d402b2118c55b0131025016a859a35733746b5
treed9b420ad6fd4255e3e5b7ed798e82780d73b76bd
parentbc98950a2a667fbf415e4caf820b4b5e50839b49
i965/gen7: fix 3DSTATE_LINE_STIPPLE_PATTERN

The inverse repeat count should taks up bits 31:15 and is in U1.16.  Fixes
the "Restarting lines within a single Begin/End block" subtest of piglit
linestipple, and gets the other failing subtests much closer to passing.

v2: Rewrite commit message with more detailed piglit info (by anholt)

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_misc_state.c