iris: keep DISCARD_RANGE
this isn't really an iris_bo_map flag, but the various resource mappers want to check for it to avoid making temp copies.
This commit is contained in:
@@ -558,7 +558,8 @@ iris_transfer_map(struct pipe_context *ctx,
|
||||
PIPE_TRANSFER_WRITE |
|
||||
PIPE_TRANSFER_UNSYNCHRONIZED |
|
||||
PIPE_TRANSFER_PERSISTENT |
|
||||
PIPE_TRANSFER_COHERENT);
|
||||
PIPE_TRANSFER_COHERENT |
|
||||
PIPE_TRANSFER_DISCARD_RANGE);
|
||||
|
||||
if (surf->tiling != ISL_TILING_LINEAR) {
|
||||
iris_map_tiled_memcpy(map);
|
||||
|
||||
Reference in New Issue
Block a user