diff options
author | Marek Olšák <[email protected]> | 2011-02-14 23:33:06 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-14 23:36:12 +0100 |
commit | 20112cca262c926de887dff7d7f108b046ea781a (patch) | |
tree | dcaeb6a9c844f7bf7f0a0812af279b34ec834cbe /src/gallium/drivers/r300/r300_flush.c | |
parent | 89ee0d527c689b70a08c1eb396486d47da7f120d (diff) |
r300g: do not track whether occlusion queries have been flushed
The winsys takes care of flushing automatically.
Diffstat (limited to 'src/gallium/drivers/r300/r300_flush.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_flush.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_flush.c b/src/gallium/drivers/r300/r300_flush.c index 1e80f802f56..0db13657027 100644 --- a/src/gallium/drivers/r300/r300_flush.c +++ b/src/gallium/drivers/r300/r300_flush.c @@ -36,7 +36,6 @@ static void r300_flush(struct pipe_context* pipe, struct pipe_fence_handle** fence) { struct r300_context *r300 = r300_context(pipe); - struct r300_query *query; struct r300_atom *atom; struct r300_fence **rfence = (struct r300_fence**)fence; @@ -76,11 +75,6 @@ static void r300_flush(struct pipe_context* pipe, r300->rws->cs_flush(r300->cs); } - /* reset flushed query */ - foreach(query, &r300->query_list) { - query->flushed = TRUE; - } - /* Create a new fence. */ if (rfence) { *rfence = CALLOC_STRUCT(r300_fence); |