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

Marek Olšák maraeo at gmail.com
Tue May 10 08:43:10 UTC 2016


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, May 10, 2016 at 6:57 AM, Dave Airlie <airlied at gmail.com> wrote:
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list