From: Brian Paul Date: Mon, 11 Jan 2010 22:30:54 +0000 (-0700) Subject: llvmpipe: disable the all in/out test code for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cf46309698dc53ee8c383b9510ee21a3d74015e;p=mesa.git 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. --- 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,