i965: Actually enable SIMD16 dispatch on Ivybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2012 05:57:46 +0000 (21:57 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sun, 8 Jan 2012 22:38:03 +0000 (14:38 -0800)
commit37240d2132d25588ad05ae5394c237f45d8ad881
tree3480f5c3f82565f66d684e3ed7a1c93c57048512
parented22f8ed2c12d2cbeae245ea51e44cb308994ec2
i965: Actually enable SIMD16 dispatch on Ivybridge.

Commit acf82657f4d607e4477f03752613d42f239e4bd3 supposedly enabled
SIMD16 dispatch, but neglected to set the "16 Pixel Dispatch Enable"
bit, so nothing actually got enabled.

Furthermore, it neglected to set up the Dispatch GRF Start Register for
kernel 2, which is the SIMD16 program.

Increases performance in Nexuiz by ~15% at 800x600 (n=3).

NOTE: This is a candidate for the 7.11 branch.

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