llvmpipe: disable the all in/out test code for now
authorBrian Paul <brianp@vmware.com>
Mon, 11 Jan 2010 22:30:54 +0000 (15:30 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 11 Jan 2010 22:30:56 +0000 (15:30 -0700)
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

index 8939e7e6223bd8e2fdbe05d42c53560ff2acc495..2db8ab2566dfd9722d7a74375126aac305a02641 100644 (file)
@@ -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,