i965: Implement guardband clipping on Ivybridge.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 5 May 2012 00:06:39 +0000 (17:06 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 15 May 2012 21:52:24 +0000 (14:52 -0700)
commit610910a66d1a97ca51ad8a003bdeadfe9563d721
tree15fccd70564237ca7eec3663bf4af42ae2228c8d
parent85cd30406ff8414bc6ac6de1064d059a4c564160
i965: Implement guardband clipping on Ivybridge.

Improves performance in Citybench:
- 320x240: 9.19589% +/- 0.557621%
- 1280x480: 3.90797% +/- 0.774429%

No apparent difference in OpenArena.

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