From d50ec9f798d96237884b85a41ad6e238180594fd Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 17 Jul 2019 11:26:53 +0200 Subject: [PATCH] zink: disable PIPE_CAP_QUERY_TIME_ELAPSED for now Acked-by: Jordan Justen --- src/gallium/drivers/zink/zink_screen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 306ce23bb7a..87c860eff2f 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -104,8 +104,12 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return screen->props.limits.maxColorAttachments; case PIPE_CAP_OCCLUSION_QUERY: + return 1; + +#if 0 /* TODO: Enable me */ case PIPE_CAP_QUERY_TIME_ELAPSED: return 1; +#endif case PIPE_CAP_TEXTURE_SWIZZLE: return 1; -- 2.30.2