summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2010-06-03 16:12:08 -0400
committerZack Rusin <[email protected]>2010-06-08 06:28:11 -0400
commit34f7681669987bc804f4603463f2fa3f82bc844f (patch)
tree01333d9d219220d2c018f941f177590f20079ec9 /src/gallium/drivers/i965
parent3a7fc2e4f3de23ab384ca679444971693a35a4c7 (diff)
gallium: adjust the query interface to support custom types
we need to change it to support composite types
Diffstat (limited to 'src/gallium/drivers/i965')
-rw-r--r--src/gallium/drivers/i965/brw_pipe_query.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_pipe_query.c b/src/gallium/drivers/i965/brw_pipe_query.c
index 2eb862635cc..0745254c3cc 100644
--- a/src/gallium/drivers/i965/brw_pipe_query.c
+++ b/src/gallium/drivers/i965/brw_pipe_query.c
@@ -50,10 +50,11 @@ static boolean
brw_query_get_result(struct pipe_context *pipe,
struct pipe_query *q,
boolean wait,
- uint64_t *result)
+ void *vresult)
{
struct brw_context *brw = brw_context(pipe);
struct brw_query_object *query = (struct brw_query_object *)q;
+ uint64_t *result = (uint64_t*)vresult;
/* Map and count the pixels from the current query BO */
if (query->bo) {