From 7ebdf5be1501647b6b0518809c91ea8a5f3c6681 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 16 Jul 2019 11:02:16 +0200 Subject: 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 --- src/gallium/drivers/zink/zink_screen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers') 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; -- cgit v1.2.3