projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iris: Drop a use of the need_resolve boolean
[mesa.git]
/
src
/
gallium
/
drivers
/
iris
/
iris_resource.c
diff --git
a/src/gallium/drivers/iris/iris_resource.c
b/src/gallium/drivers/iris/iris_resource.c
index a32328b31a022c2ab7c895b39f4ec786eda10035..b358f0c1ec5782e5b9009e6f47c01610795e4689 100644
(file)
--- a/
src/gallium/drivers/iris/iris_resource.c
+++ b/
src/gallium/drivers/iris/iris_resource.c
@@
-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);
}