summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_perfcounter.c
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_perfcounter.c
parentc85b0dea0aebd10968748e14623e5460635a17af (diff)
radeonsi: const-ify the si_query_ops
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_perfcounter.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_perfcounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c
index 65197c0daa4..fc2c58854bc 100644
--- a/src/gallium/drivers/radeonsi/si_perfcounter.c
+++ b/src/gallium/drivers/radeonsi/si_perfcounter.c
@@ -915,7 +915,7 @@ static bool si_pc_query_get_result(struct si_context *sctx, struct si_query *rqu
return true;
}
-static struct si_query_ops batch_query_ops = {
+static const struct si_query_ops batch_query_ops = {
.destroy = si_pc_query_destroy,
.begin = si_pc_query_begin,
.end = si_pc_query_end,