From: Erik Faye-Lund Date: Wed, 17 Jul 2019 09:26:53 +0000 (+0200) Subject: zink: disable PIPE_CAP_QUERY_TIME_ELAPSED for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d50ec9f798d96237884b85a41ad6e238180594fd;p=mesa.git zink: disable PIPE_CAP_QUERY_TIME_ELAPSED for now Acked-by: Jordan Justen --- 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;