From 3c256f572b0377e5cff23e022aef49c356055514 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Aug 2015 13:25:31 -0600 Subject: [PATCH] gallium/util: fix code formatting in u_blitter.h Trivial. --- src/gallium/auxiliary/util/u_blitter.h | 55 ++++++++++++-------------- 1 file 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; } -- 2.30.2