summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-11 15:30:54 -0700
committerBrian Paul <[email protected]>2010-01-11 15:30:56 -0700
commit5cf46309698dc53ee8c383b9510ee21a3d74015e (patch)
tree09bf1bbb7c5a32dd2cb2768fc06418b4b12095ea /src
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.
Diffstat (limited to 'src')
-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 8939e7e6223..2db8ab2566d 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,