summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_query.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2018-09-20 10:21:26 +0200
committerNicolai Hähnle <[email protected]>2018-12-19 12:02:07 +0100
commitd73a25f2c0ae64e208a1511c785e35f5d74f4cd6 (patch)
treea5e1aba0465c1020b92c53e400e3214f58e0c35a /src/gallium/drivers/radeonsi/si_query.h
parentc85b0dea0aebd10968748e14623e5460635a17af (diff)
radeonsi: const-ify the si_query_ops
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_query.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_query.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_query.h b/src/gallium/drivers/radeonsi/si_query.h
index 63af760a271..0bc1d56f78a 100644
--- a/src/gallium/drivers/radeonsi/si_query.h
+++ b/src/gallium/drivers/radeonsi/si_query.h
@@ -141,7 +141,7 @@ struct si_query_ops {
struct si_query {
struct threaded_query b;
- struct si_query_ops *ops;
+ const struct si_query_ops *ops;
/* The PIPE_QUERY_xxx type of query */
unsigned type;