diff options
author | Kenneth Graunke <[email protected]> | 2018-10-15 19:25:24 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:09 -0800 |
commit | 860ce6af3f8ebc545cb7feae37db066c7c649244 (patch) | |
tree | d9c7621f97f58f267bb27af0c7e23552201d29a7 /src/gallium/drivers/iris/iris_resource.c | |
parent | 12de56f53dae3bd146453407c1ec1c93fd521e95 (diff) |
iris: drop XXX's about swizzling
pretty sure this is unnecessary on modern HW
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 02828115890..40d52e90b7a 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -579,7 +579,7 @@ iris_unmap_s8(struct iris_transfer *map) struct pipe_transfer *xfer = &map->base; struct iris_resource *res = (struct iris_resource *) xfer->resource; struct isl_surf *surf = &res->surf; - const bool has_swizzling = false; // XXX: swizzling? + const bool has_swizzling = false; if (xfer->usage & PIPE_TRANSFER_WRITE) { uint8_t *untiled_s8_map = map->ptr; @@ -627,7 +627,7 @@ iris_map_s8(struct iris_transfer *map) map->buffer = map->ptr = malloc(xfer->layer_stride * xfer->box.depth); assert(map->buffer); - const bool has_swizzling = false; // XXX: swizzling? + const bool has_swizzling = false; /* One of either READ_BIT or WRITE_BIT or both is set. READ_BIT implies no * INVALIDATE_RANGE_BIT. WRITE_BIT needs the original values read in unless @@ -696,7 +696,7 @@ iris_unmap_tiled_memcpy(struct iris_transfer *map) struct iris_resource *res = (struct iris_resource *) xfer->resource; struct isl_surf *surf = &res->surf; - const bool has_swizzling = false; // XXX: swizzling? + const bool has_swizzling = false; if (xfer->usage & PIPE_TRANSFER_WRITE) { char *dst = iris_bo_map(map->dbg, res->bo, xfer->usage | MAP_RAW); @@ -739,7 +739,7 @@ iris_map_tiled_memcpy(struct iris_transfer *map) assert(map->buffer); map->ptr = (char *)map->buffer + (x1 & 0xf); - const bool has_swizzling = false; // XXX: swizzling? + const bool has_swizzling = false; // XXX: PIPE_TRANSFER_READ? if (!(xfer->usage & PIPE_TRANSFER_DISCARD_RANGE)) { |