summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-08-25 13:25:31 -0600
committerBrian Paul <[email protected]>2015-08-27 13:11:26 -0600
commit3c256f572b0377e5cff23e022aef49c356055514 (patch)
tree8fff578b8e372150360832665c7616f8ae26e5c4 /src/gallium
parentfee0c5af11dd0995de96e7053377d425a66d03a0 (diff)
gallium/util: fix code formatting in u_blitter.h
Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.h55
1 files changed, 25 insertions, 30 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.h b/src/gallium/auxiliary/util/u_blitter.h
index becdb029f13..eab48c5f00d 100644
--- a/src/gallium/auxiliary/util/u_blitter.h
+++ b/src/gallium/auxiliary/util/u_blitter.h
@@ -372,30 +372,28 @@ void util_blitter_custom_resolve_color(struct blitter_context *blitter,
*
* States not listed here are not affected by util_blitter. */
-static inline
-void util_blitter_save_blend(struct blitter_context *blitter,
- void *state)
+static inline void
+util_blitter_save_blend(struct blitter_context *blitter, void *state)
{
blitter->saved_blend_state = state;
}
-static inline
-void util_blitter_save_depth_stencil_alpha(struct blitter_context *blitter,
- void *state)
+static inline void
+util_blitter_save_depth_stencil_alpha(struct blitter_context *blitter,
+ void *state)
{
blitter->saved_dsa_state = state;
}
-static inline
-void util_blitter_save_vertex_elements(struct blitter_context *blitter,
- void *state)
+static inline void
+util_blitter_save_vertex_elements(struct blitter_context *blitter, void *state)
{
blitter->saved_velem_state = state;
}
-static inline
-void util_blitter_save_stencil_ref(struct blitter_context *blitter,
- const struct pipe_stencil_ref *state)
+static inline void
+util_blitter_save_stencil_ref(struct blitter_context *blitter,
+ const struct pipe_stencil_ref *state)
{
blitter->saved_stencil_ref = *state;
}
@@ -407,23 +405,20 @@ void util_blitter_save_rasterizer(struct blitter_context *blitter,
blitter->saved_rs_state = state;
}
-static inline
-void util_blitter_save_fragment_shader(struct blitter_context *blitter,
- void *fs)
+static inline void
+util_blitter_save_fragment_shader(struct blitter_context *blitter, void *fs)
{
blitter->saved_fs = fs;
}
-static inline
-void util_blitter_save_vertex_shader(struct blitter_context *blitter,
- void *vs)
+static inline void
+util_blitter_save_vertex_shader(struct blitter_context *blitter, void *vs)
{
blitter->saved_vs = vs;
}
-static inline
-void util_blitter_save_geometry_shader(struct blitter_context *blitter,
- void *gs)
+static inline void
+util_blitter_save_geometry_shader(struct blitter_context *blitter, void *gs)
{
blitter->saved_gs = gs;
}
@@ -442,24 +437,24 @@ util_blitter_save_tesseval_shader(struct blitter_context *blitter,
blitter->saved_tes = sh;
}
-static inline
-void util_blitter_save_framebuffer(struct blitter_context *blitter,
- const struct pipe_framebuffer_state *state)
+static inline void
+util_blitter_save_framebuffer(struct blitter_context *blitter,
+ const struct pipe_framebuffer_state *state)
{
blitter->saved_fb_state.nr_cbufs = 0; /* It's ~0 now, meaning it's unsaved. */
util_copy_framebuffer_state(&blitter->saved_fb_state, state);
}
-static inline
-void util_blitter_save_viewport(struct blitter_context *blitter,
- struct pipe_viewport_state *state)
+static inline void
+util_blitter_save_viewport(struct blitter_context *blitter,
+ struct pipe_viewport_state *state)
{
blitter->saved_viewport = *state;
}
-static inline
-void util_blitter_save_scissor(struct blitter_context *blitter,
- struct pipe_scissor_state *state)
+static inline void
+util_blitter_save_scissor(struct blitter_context *blitter,
+ struct pipe_scissor_state *state)
{
blitter->saved_scissor = *state;
}