Mesa (master): mesa: move MESA_MAP_NOWAIT_BIT up away from GL_MAP_PERSISTENT_BIT
Dave Airlie
airlied at kemper.freedesktop.org
Tue May 10 20:55:23 UTC 2016
Module: Mesa
Branch: master
Commit: 07df3b81ffd86a399caf7d530fb4d2f8833fd76c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=07df3b81ffd86a399caf7d530fb4d2f8833fd76c
Author: Dave Airlie <airlied at redhat.com>
Date: Tue May 10 14:56:02 2016 +1000
mesa: move MESA_MAP_NOWAIT_BIT up away from GL_MAP_PERSISTENT_BIT
This was colliding badly and making
GL45-CTS.buffer_storage.map_persistent_texture
fail on radeonsi.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Cc: mesa-stable at lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
src/mesa/main/dd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index d62fee6..de14943 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -63,7 +63,7 @@ struct gl_memory_info;
* want to provoke the driver to throw away the old storage, we will
* respect the contents of already referenced data.
*/
-#define MESA_MAP_NOWAIT_BIT 0x0040
+#define MESA_MAP_NOWAIT_BIT 0x4000
/**
More information about the mesa-commit
mailing list