mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-27 02:30:40 +01:00
i965: Don't double count the batch in aperture_space.
intel_batchbuffer_reset calls add_exec_bo on the batch right away,
which adds in the batch BO size.
Fixes: 29ba502a4e ("i965: Use I915_EXEC_BATCH_FIRST when available.")
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
43145bbf09
commit
6ec7bddb19
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ brw_new_batch(struct brw_context *brw)
|
|||
}
|
||||
brw->batch.reloc_count = 0;
|
||||
brw->batch.exec_count = 0;
|
||||
brw->batch.aperture_space = BATCH_SZ;
|
||||
brw->batch.aperture_space = 0;
|
||||
|
||||
/* Create a new batchbuffer and reset the associated state: */
|
||||
intel_batchbuffer_reset_and_clear_render_cache(brw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue