Mesa (master): llvmpipe: remove duplicate code

Keith Whitwell keithw at kemper.freedesktop.org
Wed Sep 15 15:29:26 UTC 2010


Module: Mesa
Branch: master
Commit: be2fb11f10e0cdd1b05592ea9a1eedbe50d24c9f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=be2fb11f10e0cdd1b05592ea9a1eedbe50d24c9f

Author: Keith Whitwell <keithw at vmware.com>
Date:   Wed Sep 15 11:51:41 2010 +0100

llvmpipe: remove duplicate code

Bad rebase presumably.

---

 src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
index a99c8ec..9830a43 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast_tri_tmp.h
@@ -170,11 +170,6 @@ TAG(lp_rast_triangle)(struct lp_rasterizer_task *task,
    outmask = 0;                 /* outside one or more trivial reject planes */
    partmask = 0;                /* outside one or more trivial accept planes */
 
-   if (tri->inputs.disable) {
-      /* This triangle was partially binned and has been disabled */
-      return;
-   }
-
    while (plane_mask) {
       int i = ffs(plane_mask) - 1;
       plane[j] = tri->plane[i];




More information about the mesa-commit mailing list