diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:21:19 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:08 -0700 |
commit | 329779a0b45b63be17627f026533c80b2c8f7991 (patch) | |
tree | 88ee98c79bdfdacaf50b53d7303caf2f1d63688b /src/mesa/drivers/dri/i965/brw_vtbl.c | |
parent | 5d8186ac1a22afbaa6ed68e0fb67d1f150f798cb (diff) |
i965: Move intel_context::batch to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vtbl.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vtbl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vtbl.c b/src/mesa/drivers/dri/i965/brw_vtbl.c index d19ca0be513..3d62051b6d0 100644 --- a/src/mesa/drivers/dri/i965/brw_vtbl.c +++ b/src/mesa/drivers/dri/i965/brw_vtbl.c @@ -117,8 +117,6 @@ brw_finish_batch(struct brw_context *brw) static void brw_new_batch(struct brw_context *brw) { - struct intel_context *intel = &brw->intel; - /* If the kernel supports hardware contexts, then most hardware state is * preserved between batches; we only need to re-emit state that is required * to be in every batch. Otherwise we need to re-emit all the state that @@ -133,7 +131,7 @@ brw_new_batch(struct brw_context *brw) /* Assume that the last command before the start of our batch was a * primitive, for safety. */ - intel->batch.need_workaround_flush = true; + brw->batch.need_workaround_flush = true; brw->state_batch_count = 0; |