mesa: move MESA_MAP_NOWAIT_BIT up away from GL_MAP_PERSISTENT_BIT
authorDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 04:56:02 +0000 (14:56 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 10 May 2016 20:54:56 +0000 (06:54 +1000)
This was colliding badly and making
GL45-CTS.buffer_storage.map_persistent_texture
fail on radeonsi.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/dd.h

index d62fee690f46d6617d90bc5f7cfe45c920a2c0b8..de14943157240d14d08ae21691b4aaa86980d33d 100644 (file)
@@ -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
 
 
 /**