projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a27b62e
)
gallium/u_upload: make the first persistent mapping unsynchronized
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 2 Mar 2017 00:42:37 +0000
(
01:42
+0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 17 Mar 2017 17:30:21 +0000
(18:30 +0100)
This is simpler for drivers.
src/gallium/auxiliary/util/u_upload_mgr.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_upload_mgr.c
b/src/gallium/auxiliary/util/u_upload_mgr.c
index 7ef82082dace74338d5af5c93111714d0624d758..32697b8eda3e935c60a1c69032cbdbfe123ccc24 100644
(file)
--- 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;
}