summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_flush.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-02-22 22:28:06 +0000
committerJakob Bornecrantz <[email protected]>2011-02-24 00:26:02 +0000
commit4407e5078f6083e4e56ba5970d0fa10d504ed45b (patch)
treebb8fbb4cdf8278597240b527139690d219bde527 /src/gallium/drivers/i915/i915_flush.c
parent671018aa99528a41955654f62120eeea0c5517e1 (diff)
i915g: Always set vbo to flush on flushes
Reported-by Chris Wilson <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_flush.c')
-rw-r--r--src/gallium/drivers/i915/i915_flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_flush.c b/src/gallium/drivers/i915/i915_flush.c
index a2c70b11991..f5435bb8453 100644
--- a/src/gallium/drivers/i915/i915_flush.c
+++ b/src/gallium/drivers/i915/i915_flush.c
@@ -74,7 +74,6 @@ static void i915_flush_pipe( struct pipe_context *pipe,
/* If there are no flags, just flush pending commands to hardware:
*/
FLUSH_BATCH(fence);
- i915->vbo_flushed = 1;
I915_DBG(DBG_FLUSH, "%s: #####\n", __FUNCTION__);
}
@@ -93,5 +92,6 @@ void i915_flush(struct i915_context *i915, struct pipe_fence_handle **fence)
struct i915_winsys_batchbuffer *batch = i915->batch;
batch->iws->batchbuffer_flush(batch, fence);
+ i915->vbo_flushed = 1;
i915->hardware_dirty = ~0;
}