return (struct pipe_query *)&q->base;
}
-static void
+static bool
iris_begin_perf_query(struct pipe_context *pipe, struct pipe_query *q)
{
struct iris_context *ice = (void *) pipe;
struct gen_perf_query_object *obj = perf_query->query;
struct gen_perf_context *perf_ctx = ice->perf_ctx;
- gen_perf_begin_query(perf_ctx, obj);
+ return gen_perf_begin_query(perf_ctx, obj);
}
static void