summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-10-28 19:05:44 +0200
committerMarek Olšák <[email protected]>2011-10-28 19:29:05 +0200
commit1e1a7011ee8f7e954b9f77985665495e53efae22 (patch)
tree0d4eef5b05fda0f6bcaa85c6d31fe9827e827fc5 /src/gallium/drivers
parente9b6f21a5054b2639a1dfc6401e4e9053dce5394 (diff)
r600g: don't flush before reading query results
Taken care of by the winsys.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_hw_context.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index e9c61875429..a7d7ce68bb5 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -1637,8 +1637,6 @@ void r600_query_begin(struct r600_context *ctx, struct r600_query *query)
/* collect current results if query buffer is full */
if (new_results_end == query->results_start) {
- if (!query->flushed)
- r600_context_flush(ctx, 0);
r600_query_result(ctx, query, TRUE);
}
@@ -1817,9 +1815,6 @@ boolean r600_context_query_result(struct r600_context *ctx,
{
uint64_t *result = (uint64_t*)vresult;
- if (!query->flushed) {
- r600_context_flush(ctx, 0);
- }
if (!r600_query_result(ctx, query, wait))
return FALSE;