From a32a92f53a3bbb2f2748c0093c9f380a98a08f06 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Wed, 30 Oct 2019 11:18:58 +0100 Subject: zink: do not advertize coherent mapping We do not support them yet, so let's not pretend. Signed-off-by: Erik Faye-Lund Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") --- src/gallium/drivers/zink/zink_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/zink/zink_screen.c b/src/gallium/drivers/zink/zink_screen.c index 59c96ed946f..2cde08abd06 100644 --- a/src/gallium/drivers/zink/zink_screen.c +++ b/src/gallium/drivers/zink/zink_screen.c @@ -284,7 +284,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 0; case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT: - return 1; + return 0; case PIPE_CAP_NIR_COMPACT_ARRAYS: return 1; -- cgit v1.2.3