Cell: use depth/stencil state to enable ztest
authorBrian <brian.paul@tungstengraphics.com>
Sun, 20 Jan 2008 22:00:18 +0000 (15:00 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Sun, 20 Jan 2008 22:00:18 +0000 (15:00 -0700)
commit661be1ae7b1cd5837d8e7224a5ebe1b8d428137e
tree7af1511e087e68fde9a27560f631fa7a7d310724
parent45b5d3b1fc996e0f460ea163e4f4b3e750e8914f
Cell: use depth/stencil state to enable ztest

Move z-test code into do_depth_test().
Add ZSIZE symbol to support 2 or 4-byte Z values.
src/mesa/pipe/cell/spu/spu_main.c
src/mesa/pipe/cell/spu/spu_main.h
src/mesa/pipe/cell/spu/spu_tile.c
src/mesa/pipe/cell/spu/spu_tile.h
src/mesa/pipe/cell/spu/spu_tri.c