return etna_sw_get_driver_query_info(pscreen, index, info);
}
+static int
+etna_get_driver_query_group_info(struct pipe_screen *pscreen, unsigned index,
+ struct pipe_driver_query_group_info *info)
+{
+ int nr_sw_groups = etna_sw_get_driver_query_group_info(pscreen, 0, NULL);
+
+ if (!info)
+ return nr_sw_groups;
+
+ return etna_sw_get_driver_query_group_info(pscreen, index, info);
+}
+
static void
etna_set_active_query_state(struct pipe_context *pipe, boolean enable)
{
etna_query_screen_init(struct pipe_screen *pscreen)
{
pscreen->get_driver_query_info = etna_get_driver_query_info;
+ pscreen->get_driver_query_group_info = etna_get_driver_query_group_info;
}
void