projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a10d14
)
llvmpipe: disable the all in/out test code for now
author
Brian Paul
<brianp@vmware.com>
Mon, 11 Jan 2010 22:30:54 +0000
(15:30 -0700)
committer
Brian 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_fs.c
b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index
8939e7e
..
2db8ab2
100644
(file)
--- 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,