i965: Use BRW_NEW_CONTEXT for gen7_disable rather than BRW_NEW_BATCH.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 6 Jan 2013 01:20:01 +0000 (17:20 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Feb 2013 23:54:01 +0000 (15:54 -0800)
commit0ac6d5a7fb58c4ca1f907b3fa4ba36b8f3b7e1f7
tree931b21d0a27a2a171d3ef08f073b049490b593e9
parent323a4488250f8f4e9981623b795763b86f5cae3f
i965: Use BRW_NEW_CONTEXT for gen7_disable rather than BRW_NEW_BATCH.

These don't need to be re-disabled on every batch if we're using
hardware contexts.  (If we're not, this is equivalent.)

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen7_disable.c