Mesa (master): pipe: add PIPE_MAX_TEXTURE_TYPES

Keith Whitwell keithw at kemper.freedesktop.org
Tue Dec 15 10:17:38 PST 2009


Module: Mesa
Branch: master
Commit: e1d0f4780861121e564c833d6061082491126154
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1d0f4780861121e564c833d6061082491126154

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Dec 14 19:05:15 2009 +0100

pipe: add PIPE_MAX_TEXTURE_TYPES

---

 src/gallium/include/pipe/p_defines.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index 69a0970..fe1390d 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -140,7 +140,8 @@ enum pipe_texture_target {
    PIPE_TEXTURE_1D   = 0,
    PIPE_TEXTURE_2D   = 1,
    PIPE_TEXTURE_3D   = 2,
-   PIPE_TEXTURE_CUBE = 3
+   PIPE_TEXTURE_CUBE = 3,
+   PIPE_MAX_TEXTURE_TYPES
 };
 
 #define PIPE_TEX_FACE_POS_X 0



More information about the mesa-commit mailing list