From 6c0a28084d160b9831c2092af4e963ed2d276b88 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 2 Mar 2017 01:42:37 +0100 Subject: 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(+) (limited to 'src/gallium/auxiliary') 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; } -- cgit v1.2.3