summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-08-11 09:16:39 -0600
committerBrian Paul <[email protected]>2016-08-16 08:28:32 -0600
commit66debeae9d225ab2026c0b7454532ed3ca960a87 (patch)
tree63aaed10b1f4fbd504fe7fafd3ab87dc2b47623a /src/gallium/auxiliary
parentb6c81a780f4afe58350d3bf327c25045f09e4050 (diff)
gallium/util: minor reformatting in u_box.h
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_box.h42
1 files changed, 13 insertions, 29 deletions
diff --git a/src/gallium/auxiliary/util/u_box.h b/src/gallium/auxiliary/util/u_box.h
index 00f231dc683..eb41f8aca36 100644
--- a/src/gallium/auxiliary/util/u_box.h
+++ b/src/gallium/auxiliary/util/u_box.h
@@ -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;