summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_flush.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-10-14 17:44:19 +1000
committerDave Airlie <[email protected]>2009-10-14 17:44:19 +1000
commit51d1cf55da6f8b8a215814589a189b6e5e537fe5 (patch)
tree07d2b29ece39155fe8b8401fbdc1e9e0f800b81b /src/gallium/drivers/r300/r300_flush.c
parent47791697ab6eb6965f0ba8ba3f20373b3753ca2a (diff)
r300g: port over last parts of oq support.
Add support for begin/end in each CS so we don't get any other processes rendering in between. TODO: blame other parts of driver for this not working like Z.
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r--src/gallium/drivers/r300/r300_flush.c2
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 a8ab0d72120..241ea71d6b1 100644
--- a/src/gallium/drivers/r300/r300_flush.c
+++ b/src/gallium/drivers/r300/r300_flush.c
@@ -36,6 +36,8 @@ static void r300_flush(struct pipe_context* pipe,
draw_flush(r300->draw);
}
+ r300_emit_query_end(r300);
+
if (r300->dirty_hw) {
FLUSH_CS;
r300_emit_invariant_state(r300);