X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fvc4%2Fvc4_query.c;h=ddf8f8fb0c2c1e51212014ae65e9bd401ac23bfc;hb=09c1c13c4442148e45a4aeac3425382bbe90e8cd;hp=1792becb08f4890647529a22438109f111fef15b;hpb=b65761f764f2c03b375460b3d6e36227ec161c2d;p=mesa.git diff --git a/src/gallium/drivers/vc4/vc4_query.c b/src/gallium/drivers/vc4/vc4_query.c index 1792becb08f..ddf8f8fb0c2 100644 --- a/src/gallium/drivers/vc4/vc4_query.c +++ b/src/gallium/drivers/vc4/vc4_query.c @@ -50,14 +50,16 @@ vc4_destroy_query(struct pipe_context *ctx, struct pipe_query *query) free(query); } -static void +static boolean vc4_begin_query(struct pipe_context *ctx, struct pipe_query *query) { + return true; } -static void +static bool vc4_end_query(struct pipe_context *ctx, struct pipe_query *query) { + return true; } static boolean @@ -71,6 +73,11 @@ vc4_get_query_result(struct pipe_context *ctx, struct pipe_query *query, return true; } +static void +vc4_set_active_query_state(struct pipe_context *pipe, boolean enable) +{ +} + void vc4_query_init(struct pipe_context *pctx) { @@ -79,5 +86,6 @@ vc4_query_init(struct pipe_context *pctx) pctx->begin_query = vc4_begin_query; pctx->end_query = vc4_end_query; pctx->get_query_result = vc4_get_query_result; + pctx->set_active_query_state = vc4_set_active_query_state; }