diff options
author | Zack Rusin <zackr@vmware.com> | 2010-06-03 16:12:08 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2010-06-03 16:12:08 -0400 |
commit | 7054ba30c927f48839b47794e2661805fb54da52 (patch) | |
tree | b9e725e5a374b5d011ec0cdc4c5009899c54ae6f /src/gallium/drivers/r300/r300_query.c | |
parent | afa87162f19db1951afe6783830bf36b45a69c4a (diff) |
gallium: adjust the query interface to support custom typesgallium-stream-out
we need to change it to support composite types
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_query.c b/src/gallium/drivers/r300/r300_query.c index 97081c4a00..7c08806368 100644 --- a/src/gallium/drivers/r300/r300_query.c +++ b/src/gallium/drivers/r300/r300_query.c @@ -114,7 +114,7 @@ static void r300_end_query(struct pipe_context* pipe, static boolean r300_get_query_result(struct pipe_context* pipe, struct pipe_query* query, boolean wait, - uint64_t* result) + void* vresult) { struct r300_context* r300 = r300_context(pipe); struct r300_screen* r300screen = r300->screen; @@ -124,6 +124,7 @@ static boolean r300_get_query_result(struct pipe_context* pipe, uint32_t* map; uint32_t temp = 0; unsigned i, num_results; + uint64_t *result = (uint64_t*)vresult; if (q->flushed == FALSE) pipe->flush(pipe, 0, NULL); |