summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_query.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-17 11:42:13 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-17 11:51:14 -0700
commitfbd758c55e6dc443f877bd87d5e6c54c86f61a33 (patch)
tree9664d1c8b406b1106a4b7c0006ddbe8efa68b6ce /src/gallium/drivers/r300/r300_query.h
parentc334ce273e946733928339b1c7f9a02ccdef1b4b (diff)
r300-gallium: More query stuff.
Should work, but doesn't. At least it doesn't hardlock.
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.h')
-rw-r--r--src/gallium/drivers/r300/r300_query.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_query.h b/src/gallium/drivers/r300/r300_query.h
index 0097870287..4f447ea45b 100644
--- a/src/gallium/drivers/r300/r300_query.h
+++ b/src/gallium/drivers/r300/r300_query.h
@@ -28,7 +28,10 @@
#include "r300_reg.h"
struct r300_query {
+ /* The kind of query. Currently only OQ is supported. */
unsigned type;
+ /* Buffer object where we want our results to reside. */
+ struct pipe_buffer* buf;
};
static INLINE struct r300_query* r300_query(struct pipe_query* q)