radeonsi: use guard band clipping
authorMarek Olšák <marek.olsak@amd.com>
Sun, 10 Apr 2016 01:38:09 +0000 (03:38 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 12 Apr 2016 15:12:14 +0000 (17:12 +0200)
commitdb00f6cc9cdef551e1069a6d5cf6171565cc0ace
tree699f2513d2d83d2cab5787eaa572b641571d144c
parentcb21f8a97cdd5ae240aecdfa417b60b2c0dd6789
radeonsi: use guard band clipping

Guard band clipping speeds up rasterization for primitives that are
partially off-screen.  This change in particular results in small
framerate improvements in a wide range of games.

Started by Grigori Goronzy <greg@chown.ath.cx>.

Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c