Mesa (lp-binning): llvmpipe: disable the all in/out test code for now

Brian Paul brianp at kemper.freedesktop.org
Tue Jan 12 19:43:05 UTC 2010


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan 11 15:30:54 2010 -0700

llvmpipe: disable the all in/out test code for now

It's still faster not to try to special case the "all pixels are
known to be inside the triangle" case.

---

 src/gallium/drivers/llvmpipe/lp_state_fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 8939e7e..2db8ab2 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -234,7 +234,7 @@ generate_tri_edge_mask(LLVMBuilderRef builder,
    lp_build_flow_scope_begin(flow);
 
    {
-#define OPTIMIZE_IN_OUT_TEST 1
+#define OPTIMIZE_IN_OUT_TEST 0
 #if OPTIMIZE_IN_OUT_TEST
       /* not_draw_all = (c0 != INT_MIN) */
       not_draw_all = LLVMBuildICmp(builder,




More information about the mesa-commit mailing list