i965/clip: Removing scissor atom
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 30 Jul 2014 18:39:06 +0000 (11:39 -0700)
committerBen Widawsky <benjamin.widawsky@intel.com>
Mon, 11 Aug 2014 00:13:36 +0000 (17:13 -0700)
commit38e181bad283eb5dea207cf6a6b8b50efd13b5ed
treea7653229df6f95d8c2a5a54cdd25e48771ed56d2
parentf6725d627cb3945f2577b6ba637ee16830d0b13c
i965/clip: Removing scissor atom

Now that we no longer use ctx->DrawBuffer->_Xmin and related fields to
program the screen-space viewport extents, we don't depend on any
scissoring state.  So we can drop the +_NEW_SCISSOR dependency.

On GEN8, a change in scissor state does not effect anything for the
clipper/sf hardware state. The hardware will always do the right thing
once the viewport extents are programmed. We can therefore remove the
unecessary state emission.

Ken originally spotted this.

v2: Reword the commit message. Remove spurious hunk.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen8_viewport_state.c