summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/p_defines.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-08-13 16:07:11 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2007-08-13 16:23:44 +0100
commit40a86b20478024ca7c55400019c536cb5ff631d1 (patch)
tree624d3f33b07dfba4328b0c7746af5f58fd496292 /src/mesa/pipe/p_defines.h
parentd46779103b38aeab61701759ed7a0b30cc71c0ef (diff)
Start breaking the #include dependencies between pipe drivers and mesa.
Pipe drivers shouldn't really know much about mesa and certainly shouldn't be #including files from src/mesa/main and the like. I've also (in i915simple especially) moved over from GL types to more conventional int/unsigned usage. This probably isn't really the ultimate desired set of types to use - possibly C99 would be better. It may even be that a subset of the GL types is preferable.
Diffstat (limited to 'src/mesa/pipe/p_defines.h')
-rw-r--r--src/mesa/pipe/p_defines.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_defines.h b/src/mesa/pipe/p_defines.h
index 52ecd5b119..e6aff6fb49 100644
--- a/src/mesa/pipe/p_defines.h
+++ b/src/mesa/pipe/p_defines.h
@@ -150,6 +150,14 @@
#define PIPE_TEX_COMPARE_NONE 0
#define PIPE_TEX_COMPARE_R_TO_TEXTURE 1
+#define PIPE_TEX_FACE_POS_X 0
+#define PIPE_TEX_FACE_NEG_X 1
+#define PIPE_TEX_FACE_POS_Y 2
+#define PIPE_TEX_FACE_NEG_Y 3
+#define PIPE_TEX_FACE_POS_Z 4
+#define PIPE_TEX_FACE_NEG_Z 5
+#define PIPE_TEX_FACE_MAX 6
+
/**
* Texture/surface image formats (preliminary)
@@ -200,4 +208,6 @@
#define PIPE_FLUSH_RENDER_CACHE 0x1
#define PIPE_FLUSH_TEXTURE_CACHE 0x2
+
+
#endif