llvmpipe: triangle function comments
authorBrian Paul <brianp@vmware.com>
Sat, 17 Apr 2010 18:48:26 +0000 (12:48 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 19 Apr 2010 14:53:13 +0000 (08:53 -0600)
src/gallium/drivers/llvmpipe/lp_setup_tri.c

index 25e6b3edfb33e0ba6d4a99baa6142848c5dd30e6..a95053444bfa12391e0019117969510692f2a97e 100644 (file)
@@ -601,6 +601,9 @@ do_triangle_ccw(struct lp_setup_context *setup,
 }
 
 
+/**
+ * Draw triangle if it's CW, cull otherwise.
+ */
 static void triangle_cw( struct lp_setup_context *setup,
                         const float (*v0)[4],
                         const float (*v1)[4],
@@ -610,6 +613,9 @@ static void triangle_cw( struct lp_setup_context *setup,
 }
 
 
+/**
+ * Draw triangle if it's CCW, cull otherwise.
+ */
 static void triangle_ccw( struct lp_setup_context *setup,
                         const float (*v0)[4],
                         const float (*v1)[4],
@@ -619,6 +625,10 @@ static void triangle_ccw( struct lp_setup_context *setup,
 }
 
 
+
+/**
+ * Draw triangle whether it's CW or CCW.
+ */
 static void triangle_both( struct lp_setup_context *setup,
                           const float (*v0)[4],
                           const float (*v1)[4],