From 07df3b81ffd86a399caf7d530fb4d2f8833fd76c Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 10 May 2016 14:56:02 +1000 Subject: [PATCH] mesa: move MESA_MAP_NOWAIT_BIT up away from GL_MAP_PERSISTENT_BIT MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This was colliding badly and making GL45-CTS.buffer_storage.map_persistent_texture fail on radeonsi. Reviewed-by: Marek Olšák Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Dave Airlie --- 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 d62fee690f4..de149431572 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.30.2