summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-23 16:15:54 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-02-23 16:15:54 -0700
commit35ca45daba3906ac94fb879d2374d476ba2dac47 (patch)
tree08845ce23b2171ed24af249c9a03a33d5cf7a9fc /src
parent1d77d6caf647424f9c1c481145be0465e96c9e3e (diff)
gallium: added TGSI_FILE_COUNT
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 10c47e0ef0..1806877f6c 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -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