summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_query_acc.h
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-06-28 08:14:10 -0400
committerRob Clark <[email protected]>2018-07-18 10:19:03 -0400
commit37b724ff723e96ebd3397e9d3bc464428afc5f08 (patch)
tree80f2b9b4477fe816b96b12486c87d9e090099bf4 /src/gallium/drivers/freedreno/freedreno_query_acc.h
parent1f464d53010f61ca2ef10e88e4eeefc067f4c8ce (diff)
freedreno: rework accumulated query result vfunc
Take the query object, rather than the ctx. The ctx ptr isn't hugely useful but for back queries we will need the query object to properly get the results. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_query_acc.h')
-rw-r--r--src/gallium/drivers/freedreno/freedreno_query_acc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_query_acc.h b/src/gallium/drivers/freedreno/freedreno_query_acc.h
index f8dfabc5e8e..8c4415fe736 100644
--- a/src/gallium/drivers/freedreno/freedreno_query_acc.h
+++ b/src/gallium/drivers/freedreno/freedreno_query_acc.h
@@ -67,7 +67,7 @@ struct fd_acc_sample_provider {
void (*resume)(struct fd_acc_query *aq, struct fd_batch *batch);
void (*pause)(struct fd_acc_query *aq, struct fd_batch *batch);
- void (*result)(struct fd_context *ctx, void *buf,
+ void (*result)(struct fd_acc_query *aq, void *buf,
union pipe_query_result *result);
};