summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_query.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2018-09-20 10:19:30 +0200
committerMarek Olšák <[email protected]>2019-07-03 15:51:12 -0400
commite241b405ca3d9da5167af2f224520227a9a5377e (patch)
tree99d9634c76619edef72e1f9667f9e5de0a388265 /src/gallium/drivers/radeonsi/si_query.h
parent064f195ef01fbcd0cf49b32cb48cc03b91470527 (diff)
radeonsi: pass the context to query destroy functions
We'll need this in the future. Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_query.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_query.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_query.h b/src/gallium/drivers/radeonsi/si_query.h
index c1918f4df2d..82e5e25ed00 100644
--- a/src/gallium/drivers/radeonsi/si_query.h
+++ b/src/gallium/drivers/radeonsi/si_query.h
@@ -125,7 +125,7 @@ enum {
};
struct si_query_ops {
- void (*destroy)(struct si_screen *, struct si_query *);
+ void (*destroy)(struct si_context *, struct si_query *);
bool (*begin)(struct si_context *, struct si_query *);
bool (*end)(struct si_context *, struct si_query *);
bool (*get_result)(struct si_context *,
@@ -214,7 +214,7 @@ struct si_query_hw {
unsigned workaround_offset;
};
-void si_query_hw_destroy(struct si_screen *sscreen,
+void si_query_hw_destroy(struct si_context *sctx,
struct si_query *squery);
bool si_query_hw_begin(struct si_context *sctx,
struct si_query *squery);