summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-01-05 17:20:01 -0800
committerKenneth Graunke <[email protected]>2013-02-11 15:54:01 -0800
commit0ac6d5a7fb58c4ca1f907b3fa4ba36b8f3b7e1f7 (patch)
tree931b21d0a27a2a171d3ef08f073b049490b593e9 /src/mesa/drivers
parent323a4488250f8f4e9981623b795763b86f5cae3f (diff)
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 <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/gen7_disable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen7_disable.c b/src/mesa/drivers/dri/i965/gen7_disable.c
index b37aa6cd460..aaf88a8bba8 100644
--- a/src/mesa/drivers/dri/i965/gen7_disable.c
+++ b/src/mesa/drivers/dri/i965/gen7_disable.c
@@ -127,7 +127,7 @@ disable_stages(struct brw_context *brw)
const struct brw_tracked_state gen7_disable_stages = {
.dirty = {
.mesa = 0,
- .brw = BRW_NEW_BATCH,
+ .brw = BRW_NEW_CONTEXT,
.cache = 0,
},
.emit = disable_stages,