diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-02-01 16:54:46 -0700 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:28 +1100 |
commit | 6522a0531fbb6b6d607969ee6b2c2a85cce8ad2b (patch) | |
tree | 593ff6751882624f875bd46b653469443345a5ac | |
parent | c90a2dcc294cba738fd65089e1b6ffe1c9b3853e (diff) |
Cell: comment about emit_quad() mask
-rw-r--r-- | src/mesa/pipe/cell/spu/spu_tri.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_tri.c b/src/mesa/pipe/cell/spu/spu_tri.c index f0758c42e7..83bb247b22 100644 --- 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 ) |