projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvmpipe: Always swizzle/unswizzle whole tiles.
[mesa.git]
/
src
/
gallium
/
drivers
/
i965
/
brw_pipe_query.c
diff --git
a/src/gallium/drivers/i965/brw_pipe_query.c
b/src/gallium/drivers/i965/brw_pipe_query.c
index 2eb862635ccf6136c331d25c79575406618d2433..0745254c3cc66cdd2e10f2bff5594b65b5555484 100644
(file)
--- 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,
brw_query_get_result(struct pipe_context *pipe,
struct pipe_query *q,
boolean wait,
-
uint64_t *
result)
+
void *v
result)
{
struct brw_context *brw = brw_context(pipe);
struct brw_query_object *query = (struct brw_query_object *)q;
{
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) {
/* Map and count the pixels from the current query BO */
if (query->bo) {