projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ae816
)
r300g: fix query result of GPU_FINISHED
author
Marek Olšák
<maraeo@gmail.com>
Thu, 10 Nov 2011 21:58:34 +0000
(22:58 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Thu, 10 Nov 2011 21:58:34 +0000
(22:58 +0100)
src/gallium/drivers/r300/r300_query.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_query.c
b/src/gallium/drivers/r300/r300_query.c
index e986276d8d4c674830e1eba4fbf9e191e6a7c381..8f7de79538da1db11b24c67c1449f3f23046769a 100644
(file)
--- a/
src/gallium/drivers/r300/r300_query.c
+++ b/
src/gallium/drivers/r300/r300_query.c
@@
-149,7
+149,7
@@
static boolean r300_get_query_result(struct pipe_context* pipe,
r300->rws->buffer_wait(q->buf, RADEON_USAGE_READWRITE);
*r = TRUE;
} else {
- *r = r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE);
+ *r =
!
r300->rws->buffer_is_busy(q->buf, RADEON_USAGE_READWRITE);
}
return *r;
}