summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_query.h
diff options
context:
space:
mode:
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)