aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-10-30 11:18:58 +0100
committerErik Faye-Lund <[email protected]>2019-11-06 11:37:36 +0000
commita32a92f53a3bbb2f2748c0093c9f380a98a08f06 (patch)
treed36505f89cf897fa4c1d9ace2d52e4afa7019e81 /src
parentca87a53b4661ae15d0c26d2ef0dbdc5a7009dee6 (diff)
zink: do not advertize coherent mapping
We do not support them yet, so let's not pretend. Signed-off-by: Erik Faye-Lund <[email protected]> Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/zink/zink_screen.c2
1 files changed, 1 insertions, 1 deletions
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;