projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44d3269
)
Cell: comment about emit_quad() mask
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 1 Feb 2008 23:54:46 +0000
(16:54 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 1 Feb 2008 23:54:46 +0000
(16:54 -0700)
src/mesa/pipe/cell/spu/spu_tri.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/cell/spu/spu_tri.c
b/src/mesa/pipe/cell/spu/spu_tri.c
index f0758c42e7319d238e01067b943fdd567192c3d3..83bb247b22e01d7baf2557e88cc79868a09aeb1c 100644
(file)
--- a/
src/mesa/pipe/cell/spu/spu_tri.c
+++ b/
src/mesa/pipe/cell/spu/spu_tri.c
@@
-277,6
+277,9
@@
do_depth_test(int x, int y, mask_t quadmask)
/**
* Emit a quad (pass to next stage). No clipping is done.
+ * Note: about 1/5 to 1/7 of the time, mask is zero and this function
+ * should be skipped. But adding the test for that slows things down
+ * overall.
*/
static INLINE void
emit_quad( int x, int y, mask_t mask )