diff options
author | Erik Faye-Lund <[email protected]> | 2019-07-16 11:02:16 +0200 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-10-28 08:51:47 +0000 |
commit | 7ebdf5be1501647b6b0518809c91ea8a5f3c6681 (patch) | |
tree | 155350c4e8b5c385b377ed534207ef1a55e9cbc9 /src/gallium | |
parent | e084211c08fda7dbbcacceb2d74cbeca5191143b (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/zink/zink_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |