i965/gen6: Fix scissors using invalid STATE_BASE_ADDRESS.
authorEric Anholt <eric@anholt.net>
Sun, 19 Jun 2011 18:33:40 +0000 (11:33 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 28 Jun 2011 17:17:39 +0000 (10:17 -0700)
commitcd7bfd5d44f543246faa7ad6ff2f8309189be963
tree678f429b366a80ffa46ed5ba61493fe8776b0628
parent6479922499638b81569db20394c6cb59e6baf989
i965/gen6: Fix scissors using invalid STATE_BASE_ADDRESS.

The scissor state was incorrectly in a .prepare function instead of
.emit, so the packet would end up in the batch before the
STATE_BASE_ADDRESS.  It appears that this doesn't actually hurt, as
the scissor address gets dereferenced according to the current SBA at
draw time.
src/mesa/drivers/dri/i965/gen6_scissor_state.c