diff options
author | Michal Krol <[email protected]> | 2008-07-13 11:30:02 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2008-07-13 13:17:30 +0200 |
commit | bd3b47590e2a8e91a8f5545d7c8872b26879c228 (patch) | |
tree | ac6487a6054a003d5e8626070ef5b9f38d4f7c3b /src | |
parent | 92d711e9e6c1934e1cec774bfa4581869530cda6 (diff) |
tgsi: Remove depricated ATTRIB interpolate mode.
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/tgsi/util/tgsi_dump.c | 3 | ||||
-rw-r--r-- | src/gallium/include/pipe/p_shader_tokens.h | 1 |
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 6356b6de06c..59e7aaeceb4 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 84e5096418b..33268553ff7 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 { |