Mesa (master): r300-gallium: Add a draw_flush() to r300_flush().
Corbin Simpson
csimpson at kemper.freedesktop.org
Sun Apr 26 17:02:50 UTC 2009
Module: Mesa
Branch: master
Commit: 86d2144412915b0052a468806c4fba81d72a682d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=86d2144412915b0052a468806c4fba81d72a682d
Author: Mathias Gottschlag <mathias-go at web.de>
Date: Sun Apr 26 12:04:35 2009 +0200
r300-gallium: Add a draw_flush() to r300_flush().
This fixes some missing primitives which had been drawn right before the next glClear().
---
src/gallium/drivers/r300/r300_flush.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c
index 20ca690..89a5f2b 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -29,6 +29,8 @@ static void r300_flush(struct pipe_context* pipe,
struct r300_context* r300 = r300_context(pipe);
CS_LOCALS(r300);
+ draw_flush(r300->draw);
+
if (r300->dirty_hw) {
FLUSH_CS;
r300_emit_invariant_state(r300);
More information about the mesa-commit
mailing list