Mesa (staging/19.3): zink: do not advertize coherent mapping

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 11 19:45:53 UTC 2019


Module: Mesa
Branch: staging/19.3
Commit: 0b670a919ce18f9c6cc8755d2faa957c7cf9cbc9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b670a919ce18f9c6cc8755d2faa957c7cf9cbc9

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Oct 30 11:18:58 2019 +0100

zink: do not advertize coherent mapping

We do not support them yet, so let's not pretend.

Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan")
(cherry picked from commit a32a92f53a3bbb2f2748c0093c9f380a98a08f06)

---

 src/gallium/drivers/zink/zink_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;




More information about the mesa-commit mailing list