i965: Unify Gen4-5 and Gen6 SF_VIEWPORT/CLIP_VIEWPORT code.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 May 2017 06:27:43 +0000 (23:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 30 May 2017 04:46:46 +0000 (21:46 -0700)
commit70be2a96a5fbb97f41b14fa437f10315b89df2f4
tree7e7704f790436a619ca663edda87f57c54b18ed8
parent01cb6cd47303e618d22a3d00fbbad5a144064a6b
i965: Unify Gen4-5 and Gen6 SF_VIEWPORT/CLIP_VIEWPORT code.

This brings the improved guardbanding we implemented on Gen6+
back to the older Gen4-5 code.  It also deletes piles of code.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_clip_state.c
src/mesa/drivers/dri/i965/brw_sf_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c