zink: enable pipeline statistics cap
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Thu, 20 Aug 2020 19:13:31 +0000 (15:13 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Feb 2021 01:16:29 +0000 (01:16 +0000)
Acked-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9072>

src/gallium/drivers/zink/zink_screen.c

index 340ec91..ae88f37 100644 (file)
@@ -184,6 +184,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_DRAW_PARAMETERS:
    case PIPE_CAP_POLYGON_OFFSET_CLAMP:
    case PIPE_CAP_QUERY_SO_OVERFLOW:
+   case PIPE_CAP_QUERY_PIPELINE_STATISTICS_SINGLE:
       return 1;
 
    case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR: