i965: Move the scissoring code up near the viewport code.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 11 May 2017 06:49:27 +0000 (23:49 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 30 May 2017 04:46:40 +0000 (21:46 -0700)
commitc6b623f60127a4ef913f927dcde0b44f9d46eb64
tree82bfed58fe7b0580980a9e053ac5f556899d736f
parent9afe5846d2c9df4e1ac6c1a5c296e14ac68ae968
i965: Move the scissoring code up near the viewport code.

These are fairly related.  Gen4-5 combine the scissor rectangle and
SF_VIEWPORT.  Co-locating them will allow me to avoid forward
declarations of helper functions in a few patches.

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