tgsi: Remove depricated ATTRIB interpolate mode.
authorMichal Krol <michal@tungstengraphics.com>
Sun, 13 Jul 2008 09:30:02 +0000 (11:30 +0200)
committerMichal Krol <michal@tungstengraphics.com>
Sun, 13 Jul 2008 11:17:30 +0000 (13:17 +0200)
src/gallium/auxiliary/tgsi/util/tgsi_dump.c
src/gallium/include/pipe/p_shader_tokens.h

index 6356b6de06cc4815cedc1fbfa251de928a3a7ebc..59e7aaeceb422077dd617fa0e8a106601bd62724 100644 (file)
@@ -119,8 +119,7 @@ static const char *TGSI_INTERPOLATES_SHORT[] =
 {
    "CONSTANT",
    "LINEAR",
-   "PERSPECTIVE",
-   "ATTRIB"
+   "PERSPECTIVE"
 };
 
 static const char *TGSI_SEMANTICS[] =
index 84e5096418b6d028e1005bd1b103ce2d32005b76..33268553ff75994da9c79e101cffe1d25a6b32a5 100644 (file)
@@ -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
 {