diff options
author | Tom Stellard <[email protected]> | 2013-08-26 17:52:47 -0700 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2013-08-26 18:27:03 -0700 |
commit | f3e86d4a68c27f0e86d64a98469a48756c445498 (patch) | |
tree | 1ff3391740618a85cd621e636c3c7cfa60ecfcf7 /src/gallium/state_trackers/clover | |
parent | ef6ed7220af51d7ae2ee132829f46a8b08d9796b (diff) |
clover: Don't use PIPE_TRANSFER_UNSYNCHRONIZED for blocking copies
CC: "9.2" <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/clover')
-rw-r--r-- | src/gallium/state_trackers/clover/core/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/clover/core/resource.cpp b/src/gallium/state_trackers/clover/core/resource.cpp index 6d348e692bc..3b003e9e927 100644 --- a/src/gallium/state_trackers/clover/core/resource.cpp +++ b/src/gallium/state_trackers/clover/core/resource.cpp @@ -174,7 +174,7 @@ mapping::mapping(command_queue &q, resource &r, pctx(q.pipe) { unsigned usage = ((flags & CL_MAP_WRITE ? PIPE_TRANSFER_WRITE : 0 ) | (flags & CL_MAP_READ ? PIPE_TRANSFER_READ : 0 ) | - (blocking ? PIPE_TRANSFER_UNSYNCHRONIZED : 0)); + (!blocking ? PIPE_TRANSFER_UNSYNCHRONIZED : 0)); p = pctx->transfer_map(pctx, r.pipe, 0, usage, box(origin + r.offset, region), &pxfer); |