r600/sb: introduce special register values for lds support.
[mesa.git] / src / gallium / drivers / vc4 / vc4_query.c
index 1792becb08f4890647529a22438109f111fef15b..ddf8f8fb0c2c1e51212014ae65e9bd401ac23bfc 100644 (file)
@@ -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;
 }