[Mesa-dev] [PATCH 07/14] svga: reformat some expressions in svga_texture_transfer_map()

Brian Paul brianp at vmware.com
Fri Aug 26 15:27:11 UTC 2016


---
 src/gallium/drivers/svga/svga_resource_texture.c | 6 +++---
 1 file 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 450ed2b..aff6fb1 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);
-- 
1.9.1



More information about the mesa-dev mailing list