summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-07-03 15:12:17 -0700
committerKenneth Graunke <[email protected]>2019-07-03 22:24:44 -0700
commit10560f8506ebecf8a10ff46b8e02af5bd21db36d (patch)
treef18a3798074ea2179ef7e0d9cc6f8de68310dac6 /src/gallium/drivers/iris/iris_resource.c
parent6ab23805c3aa576c8805c9ae1293c00deb02a185 (diff)
iris: Minor tidying
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 00e504a9ebe..8d2d3c275f8 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -1276,7 +1276,6 @@ iris_map_tiled_memcpy(struct iris_transfer *map)
const bool has_swizzling = false;
- // XXX: PIPE_TRANSFER_READ?
if (!(xfer->usage & PIPE_TRANSFER_DISCARD_RANGE)) {
char *src =
iris_bo_map(map->dbg, res->bo, (xfer->usage | MAP_RAW) & MAP_FLAGS);