mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
i965: Only flag the new-batch related state as dirty at new batch time.
This was debug code from the initial import of the driver. No statistically significant performance difference on cairo-gl or nexuiz (n=6).
This commit is contained in:
parent
6f998b58bc
commit
962dab9486
1 changed files with 1 additions and 5 deletions
|
|
@ -122,11 +122,7 @@ static void brw_new_batch( struct intel_context *intel )
|
|||
* This is probably not as severe as on 915, since almost all of our state
|
||||
* is just in referenced buffers.
|
||||
*/
|
||||
brw->state.dirty.brw |= BRW_NEW_CONTEXT;
|
||||
|
||||
brw->state.dirty.mesa |= ~0;
|
||||
brw->state.dirty.brw |= ~0;
|
||||
brw->state.dirty.cache |= ~0;
|
||||
brw->state.dirty.brw |= BRW_NEW_CONTEXT | BRW_NEW_BATCH;
|
||||
|
||||
brw->vb.nr_current_buffers = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue