Mesa (lp-binning): llvmpipe: updated comments

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 21 16:08:20 UTC 2010


Module: Mesa
Branch: lp-binning
Commit: 75f262b8b441e05f5b8811db1c205220200d64ad
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=75f262b8b441e05f5b8811db1c205220200d64ad

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Jan 19 09:30:13 2010 -0700

llvmpipe: updated comments

---

 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 018d254..0d89bef 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++)
       {




More information about the mesa-commit mailing list