aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-11-30 14:02:01 -0700
committerBrian Paul <[email protected]>2009-11-30 14:02:01 -0700
commit7505510c7b7c33f3c571647c0398da7e1b823806 (patch)
tree0b5982ebee31a733c2d0243179e065a2434719b7 /src/gallium/drivers/llvmpipe/lp_rast.h
parent7d042ac2a285c220a396d91a6dbe5c7f4e697c71 (diff)
llvmpipe: add a bunch of comments
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index 282b9a46d1b..a50b73b27f6 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -79,6 +79,7 @@ struct lp_rast_shader_inputs {
* plus inputs to run the shader:
*/
struct lp_rast_triangle {
+ /* bounding box of tri (in pixels) */
int minx;
int maxx;
int miny;
@@ -94,12 +95,12 @@ struct lp_rast_triangle {
int eo2;
int eo3;
- /* y deltas for vertex pairs */
+ /* y deltas for vertex pairs (in fixed pt) */
int dy12;
int dy23;
int dy31;
- /* x deltas for vertex pairs */
+ /* x deltas for vertex pairs (in fixed pt) */
int dx12;
int dx23;
int dx31;