From: Erik Faye-Lund Date: Tue, 16 Jul 2019 09:02:16 +0000 (+0200) Subject: zink: disable timestamp-queries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ebdf5be1501647b6b0518809c91ea8a5f3c6681;p=mesa.git zink: disable timestamp-queries We don't implement the get_timestamp context-method, so this is just going to crash if anyone tries to use it. Let's implement it later. Acked-by: Jordan Justen --- diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index f26b7c60864..306ce23bb7a 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -165,8 +165,10 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT: return screen->props.limits.minUniformBufferOffsetAlignment; +#if 0 /* TODO: Enable me */ case PIPE_CAP_QUERY_TIMESTAMP: return 1; +#endif case PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT: return screen->props.limits.minMemoryMapAlignment;