summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_resource.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-06-16 10:41:38 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:07 -0800
commit5619c15ecc5ec5dc3224d6e9991dcf5c71d208e4 (patch)
treed04eb970607a5668f89d098b759e17f366955cf9 /src/gallium/drivers/iris/iris_resource.c
parent27d45eb2f2654773036806effa3191be8bba7c6c (diff)
iris: indentation
Diffstat (limited to 'src/gallium/drivers/iris/iris_resource.c')
-rw-r--r--src/gallium/drivers/iris/iris_resource.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c
index 5eccd66de59..088ef23ac3d 100644
--- a/src/gallium/drivers/iris/iris_resource.c
+++ b/src/gallium/drivers/iris/iris_resource.c
@@ -468,8 +468,7 @@ iris_map_tiled_memcpy(struct iris_transfer *map)
* a 16-byte alignment (that is, its `x0` is 16-byte aligned). Here we
* over-allocate the linear buffer to get the proper alignment.
*/
- map->buffer =
- os_malloc_aligned(map->stride * (y2 - y1) + (x1 & 0xf), 16);
+ map->buffer = os_malloc_aligned(map->stride * (y2 - y1) + (x1 & 0xf), 16);
map->ptr = (char *)map->buffer + (x1 & 0xf);
assert(map->buffer);