[Mesa-dev] [PATCH] mesa: move MESA_MAP_NOWAIT_BIT up away from GL_MAP_PERSISTENT_BIT

Dave Airlie airlied at gmail.com
Tue May 10 04:57:23 UTC 2016


From: Dave Airlie <airlied at redhat.com>

This was colliding badly and making
GL45-CTS.buffer_storage.map_persistent_texture
fail on radeonsi.

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
 
 
 /**
-- 
2.5.5



More information about the mesa-dev mailing list