diff options
author | Michal Krol <michal@tungstengraphics.com> | 2007-10-29 11:40:09 +0000 |
---|---|---|
committer | Michal Krol <michal@tungstengraphics.com> | 2007-10-29 13:25:00 +0000 |
commit | e15ca7963e8b2e80eb79f6352f0761d0c1581fb5 (patch) | |
tree | fd19e7e8e48c54df34610ab2b3f20b7dbd8fb241 /src/mesa/pipe | |
parent | 242b8659e40416f893157c7a0919964dabc957cf (diff) |
Remove TGSI_INTERPOLATE_ATTRIB.
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_build.c | 2 | ||||
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_token.h | 1 |
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 { |