diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-10 18:22:00 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-11 10:39:28 -0600 |
commit | 284ab5a6127f8b452acaa0e10ac1d9ebc87fac3e (patch) | |
tree | 9a443b1d850966178360b17d208e28a1d05481c0 /src/gallium/drivers/cell/spu/spu_per_fragment_op.h | |
parent | ee582fd3a7a9ddbcb5595249201cf213a6c6f014 (diff) |
cell: checkpoint commit of new per-fragment processing
Do code generation for alpha test, z test, stencil, blend, colormask
and framebuffer/tile read/write as a single code block.
Ian's previous blend/z/stencil test code is still there but mostly disabled
and will be removed soon.
Diffstat (limited to 'src/gallium/drivers/cell/spu/spu_per_fragment_op.h')
-rw-r--r-- | src/gallium/drivers/cell/spu/spu_per_fragment_op.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/spu/spu_per_fragment_op.h b/src/gallium/drivers/cell/spu/spu_per_fragment_op.h index 6571258699..ffadf0661c 100644 --- a/src/gallium/drivers/cell/spu/spu_per_fragment_op.h +++ b/src/gallium/drivers/cell/spu/spu_per_fragment_op.h @@ -29,4 +29,15 @@ extern qword spu_do_depth_stencil(int x, int y, qword frag_mask, qword frag_depth, qword frag_alpha, qword facing); +extern void +spu_fallback_fragment_ops(uint x, uint y, + tile_t *colorTile, + tile_t *depthStencilTile, + vector float fragZ, + vector float fragRed, + vector float fragGreen, + vector float fragBlue, + vector float fragAlpha, + vector unsigned int mask); + #endif /* SPU_PER_FRAGMENT_OP */ |