summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-11 15:30:54 -0700
committerBrian Paul <brianp@vmware.com>2010-01-11 15:30:56 -0700
commit5cf46309698dc53ee8c383b9510ee21a3d74015e (patch)
tree09bf1bbb7c5a32dd2cb2768fc06418b4b12095ea
parent9a10d14a441ca76c5c9ea8986a2eb4b5923a9b9f (diff)
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.
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c2
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 8939e7e622..2db8ab2566 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,