gallium/util: minor reformatting in u_box.h
authorBrian Paul <brianp@vmware.com>
Thu, 11 Aug 2016 15:16:39 +0000 (09:16 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Aug 2016 14:28:32 +0000 (08:28 -0600)
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_box.h

index 00f231dc68357d2b339f0f89b95a34f18feee762..eb41f8aca3638118815e90ad287d59ec2bb61adc 100644 (file)
@@ -4,10 +4,8 @@
 #include "pipe/p_state.h"
 #include "util/u_math.h"
 
-static inline
-void u_box_1d( unsigned x,
-              unsigned w,
-              struct pipe_box *box )
+static inline void
+u_box_1d(unsigned x, unsigned w, struct pipe_box *box)
 {
    box->x = x;
    box->y = 0;
@@ -17,12 +15,8 @@ void u_box_1d( unsigned x,
    box->depth = 1;
 }
 
-static inline
-void u_box_2d( unsigned x,
-              unsigned y,
-              unsigned w,
-              unsigned h,
-              struct pipe_box *box )
+static inline void
+u_box_2d(unsigned x,unsigned y, unsigned w, unsigned h, struct pipe_box *box)
 {
    box->x = x;
    box->y = y;
@@ -32,10 +26,8 @@ void u_box_2d( unsigned x,
    box->depth = 1;
 }
 
-static inline
-void u_box_origin_2d( unsigned w,
-                     unsigned h,
-                     struct pipe_box *box )
+static inline void
+u_box_origin_2d(unsigned w, unsigned h, struct pipe_box *box)
 {
    box->x = 0;
    box->y = 0;
@@ -45,13 +37,9 @@ void u_box_origin_2d( unsigned w,
    box->depth = 1;
 }
 
-static inline
-void u_box_2d_zslice( unsigned x,
-                     unsigned y,
-                     unsigned z,
-                     unsigned w,
-                     unsigned h,
-                     struct pipe_box *box )
+static inline void
+u_box_2d_zslice(unsigned x, unsigned y, unsigned z,
+                unsigned w, unsigned h, struct pipe_box *box)
 {
    box->x = x;
    box->y = y;
@@ -61,14 +49,10 @@ void u_box_2d_zslice( unsigned x,
    box->depth = 1;
 }
 
-static inline
-void u_box_3d( unsigned x,
-              unsigned y,
-              unsigned z,
-              unsigned w,
-              unsigned h,
-              unsigned d,
-              struct pipe_box *box )
+static inline void
+u_box_3d(unsigned x, unsigned y, unsigned z,
+         unsigned w, unsigned h, unsigned d,
+         struct pipe_box *box)
 {
    box->x = x;
    box->y = y;