From 6c0a28084d160b9831c2092af4e963ed2d276b88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 2 Mar 2017 01:42:37 +0100 Subject: [PATCH] gallium/u_upload: make the first persistent mapping unsynchronized This is simpler for drivers. --- src/gallium/auxiliary/util/u_upload_mgr.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2