From: Brian Paul Date: Tue, 19 Jan 2010 16:30:13 +0000 (-0700) Subject: llvmpipe: updated comments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=75f262b8b441e05f5b8811db1c205220200d64ad;p=mesa.git llvmpipe: updated comments --- 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++) {