i965: Include the viewport in the scissor rectangle.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 11 Mar 2016 00:04:01 +0000 (16:04 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 19 Mar 2016 01:42:15 +0000 (18:42 -0700)
commitd000a4989f66921832a33742ea07fa191393231b
tree38370cf8a23a6e8d9dba35ce0b9da6bb4d4ee8bd
parent47be5a64c786e04578bebe21601b3c0821be75a0
i965: Include the viewport in the scissor rectangle.

We'll need to use scissoring to restrict fragments to the viewport
soon.  It seems harmless to include it generally, so let's do that.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94453
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94454
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/drivers/dri/i965/gen6_scissor_state.c