From: Brian Paul Date: Sat, 17 Apr 2010 18:48:26 +0000 (-0600) Subject: llvmpipe: triangle function comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a59771fb5305a4a8bda35bc7175eceecd0a950ee;p=mesa.git llvmpipe: triangle function comments --- diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 25e6b3edfb3..a95053444bf 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -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],