diff options
author | Brian Paul <[email protected]> | 2010-01-19 09:30:13 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-19 09:30:13 -0700 |
commit | 75f262b8b441e05f5b8811db1c205220200d64ad (patch) | |
tree | 929ce232b16b504a43a909b8b2cab71daa4d5460 /src/gallium/drivers/llvmpipe | |
parent | 9a23d810be02edf740ce58196435cd6cdfd903c9 (diff) |
llvmpipe: updated comments
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_setup_tri.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup_tri.c b/src/gallium/drivers/llvmpipe/lp_setup_tri.c index 018d254c765..0d89bef606d 100644 --- a/src/gallium/drivers/llvmpipe/lp_setup_tri.c +++ b/src/gallium/drivers/llvmpipe/lp_setup_tri.c @@ -440,8 +440,10 @@ do_triangle_ccw(struct setup_context *setup, int x, y; - /* Trivially accept or reject blocks, else jump to per-pixel - * examination above. + /* Test tile-sized blocks against the triangle. + * Discard blocks fully outside the tri. If the block is fully + * contained inside the tri, bin an lp_rast_shade_tile command. + * Else, bin a lp_rast_triangle command. */ for (y = miny; y <= maxy; y++) { |