summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
authorMichal Krol <michal@tungstengraphics.com>2007-10-29 11:40:09 +0000
committerMichal Krol <michal@tungstengraphics.com>2007-10-29 13:25:00 +0000
commite15ca7963e8b2e80eb79f6352f0761d0c1581fb5 (patch)
treefd19e7e8e48c54df34610ab2b3f20b7dbd8fb241 /src/mesa/pipe/tgsi
parent242b8659e40416f893157c7a0919964dabc957cf (diff)
Remove TGSI_INTERPOLATE_ATTRIB.
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_build.c2
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_token.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_build.c b/src/mesa/pipe/tgsi/exec/tgsi_build.c
index 56827726f5..78f648aae2 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_build.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_build.c
@@ -294,7 +294,7 @@ tgsi_build_declaration_interpolation(
{
struct tgsi_declaration_interpolation di;
- assert( interpolate <= TGSI_INTERPOLATE_ATTRIB );
+ assert( interpolate <= TGSI_INTERPOLATE_PERSPECTIVE );
di = tgsi_default_declaration_interpolation();
di.Interpolate = interpolate;
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_token.h b/src/mesa/pipe/tgsi/exec/tgsi_token.h
index 80c3fcd434..8d5992facb 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_token.h
+++ b/src/mesa/pipe/tgsi/exec/tgsi_token.h
@@ -96,7 +96,6 @@ struct tgsi_declaration_mask
#define TGSI_INTERPOLATE_CONSTANT 0
#define TGSI_INTERPOLATE_LINEAR 1
#define TGSI_INTERPOLATE_PERSPECTIVE 2
-#define TGSI_INTERPOLATE_ATTRIB 3 /**< Vertex shader input attrib */
struct tgsi_declaration_interpolation
{