From: Dave Airlie <[email protected]>

Not sure if this makes a difference or not, but either its inconsistent
for some undocumented reason or its just a bug.

Signed-off-by: Dave Airlie <[email protected]>
---
 src/gallium/auxiliary/util/u_upload_mgr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gallium/auxiliary/util/u_upload_mgr.c 
b/src/gallium/auxiliary/util/u_upload_mgr.c
index 6859751..de448e0 100644
--- a/src/gallium/auxiliary/util/u_upload_mgr.c
+++ b/src/gallium/auxiliary/util/u_upload_mgr.c
@@ -138,7 +138,8 @@ u_upload_alloc_buffer( struct u_upload_mgr *upload,
    upload->map = pipe_buffer_map_range(upload->pipe, upload->buffer,
                                        0, size,
                                        PIPE_TRANSFER_WRITE |
-                                       PIPE_TRANSFER_FLUSH_EXPLICIT,
+                                       PIPE_TRANSFER_FLUSH_EXPLICIT |
+                                       PIPE_TRANSFER_UNSYNCHRONIZED,
                                        &upload->transfer);
    if (upload->map == NULL) {
       upload->transfer = NULL;
-- 
1.8.1.2

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to