From 70908a793b7755c973fe024844185ff9e14924ea Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 7 Feb 2008 12:09:16 -0800 Subject: [PATCH] [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. --- src/mesa/drivers/dri/i965/brw_misc_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2