iris: Drop a use of the need_resolve boolean

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6192>
This commit is contained in:
Nanley Chery
2020-06-23 09:46:38 -07:00
committed by Marge Bot
parent 5b82d8ce8b
commit 2c30079628
+1 -1
View File
@@ -1885,7 +1885,7 @@ iris_transfer_map(struct pipe_context *ctx,
} else {
/* Otherwise we're free to map on the CPU. */
if (need_resolve) {
if (resource->target != PIPE_BUFFER) {
iris_resource_access_raw(ice, res, level, box->z, box->depth,
usage & PIPE_TRANSFER_WRITE);
}