From fbd758c55e6dc443f877bd87d5e6c54c86f61a33 Mon Sep 17 00:00:00 2001 From: Corbin Simpson Date: Tue, 17 Mar 2009 11:42:13 -0700 Subject: r300-gallium: More query stuff. Should work, but doesn't. At least it doesn't hardlock. --- src/gallium/drivers/r300/r300_query.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/r300/r300_query.h') 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) -- cgit v1.2.3