From: Dave Airlie Date: Tue, 8 Jan 2019 06:50:28 +0000 (+1000) Subject: virgl: enable elapsed time queries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38658c6d4dda1df12690c1f4c01b993862d6fe68;p=mesa.git virgl: enable elapsed time queries GL underneath always has GL_TIME_ELAPSED so always enable these. Reviewed-by: Gurchetan Singh --- diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 42e0987e0c9..9a8d0e64848 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -172,7 +172,7 @@ virgl_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_QUERY_TIMESTAMP: return 1; case PIPE_CAP_QUERY_TIME_ELAPSED: - return 0; + return 1; case PIPE_CAP_TGSI_TEXCOORD: return 0; case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: