diff --git a/src/gallium/drivers/v3d/v3d_query.c b/src/gallium/drivers/v3d/v3d_query.c index 2f51cad7d1b..f65c42a7452 100644 --- a/src/gallium/drivers/v3d/v3d_query.c +++ b/src/gallium/drivers/v3d/v3d_query.c @@ -69,6 +69,7 @@ v3d_get_driver_query_info(struct pipe_screen *pscreen, unsigned index, info->query_type = PIPE_QUERY_DRIVER_SPECIFIC + index; info->result_type = PIPE_DRIVER_QUERY_RESULT_TYPE_CUMULATIVE; info->type = PIPE_DRIVER_QUERY_TYPE_UINT64; + info->max_value.u64 = 0; info->flags = PIPE_DRIVER_QUERY_FLAG_BATCH; return 1;