projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b6f21
)
r600g: don't flush before reading query results
author
Marek Olšák
<maraeo@gmail.com>
Fri, 28 Oct 2011 17:05:44 +0000
(19:05 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 28 Oct 2011 17:29:05 +0000
(19:29 +0200)
Taken care of by the winsys.
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index e9c61875429780ca540c858b4f586aa4e33b650a..a7d7ce68bb58e434a40ebdedd8c7f5591a49488f 100644
(file)
--- 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;