Browse Source

Cell: comment about emit_quad() mask

tags/mesa_20090313
Brian 17 years ago
parent
commit
6522a0531f
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/mesa/pipe/cell/spu/spu_tri.c

+ 3
- 0
src/mesa/pipe/cell/spu/spu_tri.c View File

@@ -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 )

Loading…
Cancel
Save