clover: Don't use PIPE_TRANSFER_UNSYNCHRONIZED for blocking copies
CC: "9.2" <mesa-stable@lists.freedesktop.org> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user