Module: Mesa
Branch: master
Commit: 0fb71be2179ebf140b086682f050399809ef57b8
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fb71be2179ebf140b086682f050399809ef57b8

Author: Brian Paul <[email protected]>
Date:   Wed Oct  7 13:21:57 2009 -0600

softpipe: whitespace and comment fixes

---

 src/gallium/drivers/softpipe/sp_context.h |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_context.h 
b/src/gallium/drivers/softpipe/sp_context.h
index 43a195c..a735573 100644
--- a/src/gallium/drivers/softpipe/sp_context.h
+++ b/src/gallium/drivers/softpipe/sp_context.h
@@ -85,7 +85,7 @@ struct softpipe_context {
 
    /** Mapped vertex buffers */
    ubyte *mapped_vbuffer[PIPE_MAX_ATTRIBS];
-   
+
    /** Mapped constant buffers */
    void *mapped_constants[PIPE_SHADER_TYPES];
 
@@ -96,14 +96,13 @@ struct softpipe_context {
    /** Which vertex shader output slot contains point size */
    int psize_slot;
 
-   /* The reduced version of the primitive supplied by the state
-    * tracker.
-    */
+   /** The reduced version of the primitive supplied by the state tracker */
    unsigned reduced_api_prim;
 
-   /* The reduced primitive after unfilled triangles, wide-line
-    * decomposition, etc, are taken into account.  This is the
-    * primitive actually rasterized.
+   /**
+    * The reduced primitive after unfilled triangles, wide-line decomposition,
+    * etc, are taken into account.  This is the primitive type that's actually
+    * rasterized.
     */
    unsigned reduced_prim;
 
@@ -117,7 +116,6 @@ struct softpipe_context {
       struct quad_stage *shade;
       struct quad_stage *depth_test;
       struct quad_stage *blend;
-
       struct quad_stage *first; /**< points to one of the above stages */
    } quad;
 
@@ -135,10 +133,10 @@ struct softpipe_context {
    struct draw_stage *vbuf;
 
    boolean dirty_render_cache;
-   
+
    struct softpipe_tile_cache *cbuf_cache[PIPE_MAX_COLOR_BUFS];
    struct softpipe_tile_cache *zsbuf_cache;
-   
+
    unsigned tex_timestamp;
    struct softpipe_tex_tile_cache *tex_cache[PIPE_MAX_SAMPLERS];
 
@@ -159,4 +157,3 @@ softpipe_reset_sampler_varients(struct softpipe_context 
*softpipe);
 
 
 #endif /* SP_CONTEXT_H */
-

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to