summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-07-10 18:59:17 -0600
committerBrian <[email protected]>2007-07-10 18:59:17 -0600
commit73daa688541ec88119804ad190ce5b429e50ea44 (patch)
tree51b54851b3f74557a82bae2a88f0af6af7a08fc9 /src/mesa/pipe/p_defines.h
parente6eca5c37e13fd0f9100de127075b1bbed0821c0 (diff)
Checkpoint: stencil roughly working, some bugs to fix...
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index 7212040b362..fbdd015619d 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -125,7 +125,7 @@
#define PIPE_TEX_COMPARE_R_TO_TEXTURE 1
/**
- * Texture/surface image formats
+ * Texture/surface image formats (preliminary)
*/
#define PIPE_FORMAT_U_R8_G8_B8_A8 0 /**< ubyte[4] RGBA */
#define PIPE_FORMAT_U_A8_R8_G8_B8 1 /**< ubyte[4] ARGB */
@@ -138,6 +138,9 @@
#define PIPE_FORMAT_F_Z32 8 /**< float Z/depth */
#define PIPE_FORMAT_YCBCR 9
#define PIPE_FORMAT_YCBCR_REV 10
+#define PIPE_FORMAT_S8 11 /**< 8-bit stencil */
+#define PIPE_FORMAT_Z24_S8 12 /**< 24-bit Z + 8-bit stencil */
+
/**
* Texture typess