aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-08-25 15:43:23 -0600
committerBrian Paul <[email protected]>2016-08-26 14:20:19 -0600
commitfe5a2704ecd447068c6b75bf78f12630219d3117 (patch)
treef834713c70a3f0794df8d4dcd1d79a442d97dde1 /src/gallium
parent10ef6ddcf97c1f7e42345b5d5b090f1db93a795d (diff)
svga: reformat some expressions in svga_texture_transfer_map()
Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_resource_texture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_texture.c b/src/gallium/drivers/svga/svga_resource_texture.c
index 450ed2b80c7..aff6fb1781d 100644
--- a/src/gallium/drivers/svga/svga_resource_texture.c
+++ b/src/gallium/drivers/svga/svga_resource_texture.c
@@ -431,9 +431,9 @@ svga_texture_transfer_map(struct pipe_context *pipe,
debug_printf("%s: failed to allocate %u KB of DMA, "
"splitting into %u x %u KB DMA transfers\n",
__FUNCTION__,
- (nblocksy*st->base.stride + 1023)/1024,
- (nblocksy + st->hw_nblocksy - 1)/st->hw_nblocksy,
- (st->hw_nblocksy*st->base.stride + 1023)/1024);
+ (nblocksy * st->base.stride + 1023) / 1024,
+ (nblocksy + st->hw_nblocksy - 1) / st->hw_nblocksy,
+ (st->hw_nblocksy * st->base.stride + 1023) / 1024);
}
st->swbuf = MALLOC(nblocksy * st->base.stride * d);