mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 11:20:18 +01:00
llvmpipe: triangle function comments
This commit is contained in:
parent
62c9587385
commit
a59771fb53
1 changed files with 10 additions and 0 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue