diff options
author | Eric Anholt <[email protected]> | 2008-02-07 12:09:16 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-02-07 13:14:59 -0800 |
commit | 70908a793b7755c973fe024844185ff9e14924ea (patch) | |
tree | 51a3b5fd9c1baba4401a6d0462123760512e027a /src | |
parent | 5c0c8831040c2abbe4e1f80cb03a8cc1ffd4219e (diff) |
[965] Flush icache on new batch, not just new context.
This is required since our buffer manager may now move our
instruction-containing buffers at any batchbuffer emit.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_misc_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_misc_state.c b/src/mesa/drivers/dri/i965/brw_misc_state.c index 8277da7dd30..450d62c71f8 100644 --- a/src/mesa/drivers/dri/i965/brw_misc_state.c +++ b/src/mesa/drivers/dri/i965/brw_misc_state.c @@ -394,7 +394,7 @@ static void upload_pipe_control(struct brw_context *brw) const struct brw_tracked_state brw_pipe_control = { .dirty = { .mesa = 0, - .brw = BRW_NEW_CONTEXT, + .brw = BRW_NEW_BATCH, .cache = 0 }, .update = upload_pipe_control |