diff options
author | Dave Airlie <[email protected]> | 2019-01-08 16:50:28 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-01-31 11:23:30 +1000 |
commit | 38658c6d4dda1df12690c1f4c01b993862d6fe68 (patch) | |
tree | 80d5baadb37501f04b32d466becbf2bc3ef62f76 /src | |
parent | da48cba61ef6fefb799bf96e6364b70dbf4ec712 (diff) |
virgl: enable elapsed time queries
GL underneath always has GL_TIME_ELAPSED so always enable these.
Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |