diff options
author | Stéphane Marchesin <[email protected]> | 2011-07-06 02:19:48 -0700 |
---|---|---|
committer | Stéphane Marchesin <[email protected]> | 2011-07-06 02:49:58 -0700 |
commit | e53b41f2632af26c79c4f7ed5b0fdb86a1feb602 (patch) | |
tree | 9499ab923e29bae2908ccf4a37bb88376cfae7e9 /src/gallium/drivers/i915/i915_flush.c | |
parent | 2bc5e0e97ba7b6c32f6ff90cb90448173d74b89b (diff) |
i915g: Improve flushing using heuristics.
Diffstat (limited to 'src/gallium/drivers/i915/i915_flush.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_flush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_flush.c b/src/gallium/drivers/i915/i915_flush.c index b4e81147c4f..6d76afa9dbc 100644 --- a/src/gallium/drivers/i915/i915_flush.c +++ b/src/gallium/drivers/i915/i915_flush.c @@ -77,4 +77,5 @@ void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence) i915->static_dirty = ~0; /* kernel emits flushes in between batchbuffers */ i915->flush_dirty = 0; + i915->vertices_since_last_flush = 0; } |