summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBen Skeggs <skeggsb@gmail.com>2007-12-09 22:25:35 +1100
committerBen Skeggs <skeggsb@gmail.com>2007-12-09 22:25:35 +1100
commit897c96aacc6fbc08936eaf48955c15259e36caf7 (patch)
tree2285d5f904388933400a9058a429cd04291a7fa4 /src/mesa/pipe
parentf58f4e0f0ecc6c7079ef52f4a417707843507fab (diff)
nouveau: downgrade hacked syncs to hacked flushes
Unfortunately we still need to keep the forced flushes as mesa's vbo path is still insane. But, at least this is a little less brutal. The bo code will detect when it needs to do a sync.
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/nv40/nv40_vbo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/nv40/nv40_vbo.c b/src/mesa/pipe/nv40/nv40_vbo.c
index 5e919c5ca9..8491f2a3ec 100644
--- a/src/mesa/pipe/nv40/nv40_vbo.c
+++ b/src/mesa/pipe/nv40/nv40_vbo.c
@@ -41,7 +41,7 @@ nv40_draw_arrays(struct pipe_context *pipe, unsigned mode, unsigned start,
BEGIN_RING(curie, NV40TCL_BEGIN_END, 1);
OUT_RING (0);
- pipe->flush(pipe, PIPE_FLUSH_WAIT);
+ pipe->flush(pipe, 0);
return TRUE;
}
@@ -153,7 +153,7 @@ nv40_draw_elements(struct pipe_context *pipe,
OUT_RING (0);
pipe->winsys->buffer_unmap(pipe->winsys, ib);
- pipe->flush(pipe, PIPE_FLUSH_WAIT);
+ pipe->flush(pipe, 0);
return TRUE;
}