From: Marek Olšák Date: Thu, 2 Mar 2017 00:42:37 +0000 (+0100) Subject: gallium/u_upload: make the first persistent mapping unsynchronized X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c0a28084d160b9831c2092af4e963ed2d276b88;p=mesa.git gallium/u_upload: make the first persistent mapping unsynchronized This is simpler for drivers. --- diff --git a/src/gallium/auxiliary/util/u_upload_mgr.c b/src/gallium/auxiliary/util/u_upload_mgr.c index 7ef82082dac..32697b8eda3 100644 --- a/src/gallium/auxiliary/util/u_upload_mgr.c +++ b/src/gallium/auxiliary/util/u_upload_mgr.c @@ -74,6 +74,7 @@ u_upload_create(struct pipe_context *pipe, unsigned default_size, if (upload->map_persistent) { upload->map_flags = PIPE_TRANSFER_WRITE | + PIPE_TRANSFER_UNSYNCHRONIZED | PIPE_TRANSFER_PERSISTENT | PIPE_TRANSFER_COHERENT; }