summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/cell/spu/spu_main.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-20 15:00:18 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-20 15:00:18 -0700
commit661be1ae7b1cd5837d8e7224a5ebe1b8d428137e (patch)
tree7af1511e087e68fde9a27560f631fa7a7d310724 /src/mesa/pipe/cell/spu/spu_main.h
parent45b5d3b1fc996e0f460ea163e4f4b3e750e8914f (diff)
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.
Diffstat (limited to 'src/mesa/pipe/cell/spu/spu_main.h')
-rw-r--r--src/mesa/pipe/cell/spu/spu_main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/pipe/cell/spu/spu_main.h b/src/mesa/pipe/cell/spu/spu_main.h
index f39f375d24..cd2afbe9bf 100644
--- a/src/mesa/pipe/cell/spu/spu_main.h
+++ b/src/mesa/pipe/cell/spu/spu_main.h
@@ -32,6 +32,8 @@
#include "pipe/cell/common.h"
#include "pipe/p_state.h"
+/** XXX temp bytes/z value */
+#define ZSIZE 2
struct spu_framebuffer {
void *color_start; /**< addr of color surface in main memory */