Mesa (softpipe-opt): softpipe: remove unused #includes, white-space clean-up

Brian Paul brianp at kemper.freedesktop.org
Fri Aug 21 20:08:30 UTC 2009


Module: Mesa
Branch: softpipe-opt
Commit: 4256c5829f8c23f8bd5c7c29491210f0f7813bf9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4256c5829f8c23f8bd5c7c29491210f0f7813bf9

Author: Brian Paul <brianp at vmware.com>
Date:   Fri Aug 21 13:47:50 2009 -0600

softpipe: remove unused #includes, white-space clean-up

---

 src/gallium/drivers/softpipe/sp_state_fs.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c
index a055d62..256faa9 100644
--- a/src/gallium/drivers/softpipe/sp_state_fs.c
+++ b/src/gallium/drivers/softpipe/sp_state_fs.c
@@ -31,8 +31,6 @@
 
 #include "pipe/p_defines.h"
 #include "util/u_memory.h"
-#include "pipe/internal/p_winsys_screen.h"
-#include "pipe/p_shader_tokens.h"
 #include "draw/draw_context.h"
 #include "draw/draw_vs.h"
 #include "tgsi/tgsi_dump.h"
@@ -128,7 +126,7 @@ softpipe_bind_vs_state(struct pipe_context *pipe, void *vs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   softpipe->vs = (struct sp_vertex_shader *)vs;
+   softpipe->vs = (struct sp_vertex_shader *) vs;
 
    draw_bind_vertex_shader(softpipe->draw,
                            (softpipe->vs ? softpipe->vs->draw_data : NULL));
@@ -142,8 +140,7 @@ softpipe_delete_vs_state(struct pipe_context *pipe, void *vs)
 {
    struct softpipe_context *softpipe = softpipe_context(pipe);
 
-   struct sp_vertex_shader *state =
-      (struct sp_vertex_shader *)vs;
+   struct sp_vertex_shader *state = (struct sp_vertex_shader *) vs;
 
    draw_delete_vertex_shader(softpipe->draw, state->draw_data);
    FREE( state );




More information about the mesa-commit mailing list