mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 13:30:11 +01:00
i915g: Don't flush empty batchbuffers
This commit is contained in:
parent
ed5ce78b81
commit
62bcf2e6ad
1 changed files with 0 additions and 2 deletions
|
|
@ -67,11 +67,9 @@ static void i915_flush( struct pipe_context *pipe,
|
|||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
if (i915->batch->map == i915->batch->ptr) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* If there are no flags, just flush pending commands to hardware:
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue