i965: Implement guardband clipping on Sandybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 5 May 2012 00:06:38 +0000 (17:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 15 May 2012 21:52:24 +0000 (14:52 -0700)
commit85cd30406ff8414bc6ac6de1064d059a4c564160
tree8621c6cdc2324d33c68b23278305841e45b19a18
parent5994a641d86f2fef78d804065bd466990b099b62
i965: Implement guardband clipping on Sandybridge.

Improves performance in Citybench:
- 320x240:  19.8008% +/- 0.937818%
- 1280x480: 6.53856% +/- 0.859083%

No apparent difference in OpenArena nor Xonotic.

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