gallium: added TGSI_FILE_COUNT
authorBrian <brian.paul@tungstengraphics.com>
Sat, 23 Feb 2008 23:15:54 +0000 (16:15 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 23 Feb 2008 23:15:54 +0000 (16:15 -0700)
src/gallium/include/pipe/p_shader_tokens.h

index 10c47e0ef03a95a28a561f159f168f97902882b6..1806877f6cc51178506bb6208d4c7b89e503a66f 100644 (file)
@@ -50,6 +50,8 @@ struct tgsi_token
 #define TGSI_FILE_SAMPLER     5
 #define TGSI_FILE_ADDRESS     6
 #define TGSI_FILE_IMMEDIATE   7
+#define TGSI_FILE_COUNT       8  /**< how many TGSI_FILE_ types */
+
 
 #define TGSI_DECLARE_RANGE    0
 #define TGSI_DECLARE_MASK     1