svga: reformat some expressions in svga_texture_transfer_map()
authorBrian Paul <brianp@vmware.com>
Thu, 25 Aug 2016 21:43:23 +0000 (15:43 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 20:20:19 +0000 (14:20 -0600)
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c

index 450ed2b80c7991b763eaa4c9372f9fe71578322d..aff6fb1781dc996a9e648028f694423f9821aea5 100644 (file)
@@ -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);