summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2008-07-13 11:30:02 +0200
committerMichal Krol <michal@tungstengraphics.com>2008-07-13 13:17:30 +0200
commitbd3b47590e2a8e91a8f5545d7c8872b26879c228 (patch)
treeac6487a6054a003d5e8626070ef5b9f38d4f7c3b
parent92d711e9e6c1934e1cec774bfa4581869530cda6 (diff)
tgsi: Remove depricated ATTRIB interpolate mode.
-rw-r--r--src/gallium/auxiliary/tgsi/util/tgsi_dump.c3
-rw-r--r--src/gallium/include/pipe/p_shader_tokens.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
index 6356b6de06..59e7aaeceb 100644
--- a/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
+++ b/src/gallium/auxiliary/tgsi/util/tgsi_dump.c
@@ -119,8 +119,7 @@ static const char *TGSI_INTERPOLATES_SHORT[] =
{
"CONSTANT",
"LINEAR",
- "PERSPECTIVE",
- "ATTRIB"
+ "PERSPECTIVE"
};
static const char *TGSI_SEMANTICS[] =
diff --git a/src/gallium/include/pipe/p_shader_tokens.h b/src/gallium/include/pipe/p_shader_tokens.h
index 84e5096418..33268553ff 100644
--- a/src/gallium/include/pipe/p_shader_tokens.h
+++ b/src/gallium/include/pipe/p_shader_tokens.h
@@ -75,6 +75,7 @@ enum tgsi_file_type {
#define TGSI_INTERPOLATE_CONSTANT 0
#define TGSI_INTERPOLATE_LINEAR 1
#define TGSI_INTERPOLATE_PERSPECTIVE 2
+#define TGSI_INTERPOLATE_COUNT 3
struct tgsi_declaration
{