summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi/exec/tgsi_dump.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-09-20 14:47:22 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-09-20 14:47:22 -0600
commitf69b5c56feb60791bad27d491ee9592238d4efb0 (patch)
tree4e20d2ee723239121e5bf8b94a9786dc05e00440 /src/mesa/pipe/tgsi/exec/tgsi_dump.c
parent478d1e2c9c73fc29542375c44d01ab964ce8eccf (diff)
Clean-up the TGSI_SEMANTIC tokens, introduce semantic indexes.
Still need to produce decl instructions for vertex shaders...
Diffstat (limited to 'src/mesa/pipe/tgsi/exec/tgsi_dump.c')
-rwxr-xr-xsrc/mesa/pipe/tgsi/exec/tgsi_dump.c22
1 files changed, 8 insertions, 14 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_dump.c b/src/mesa/pipe/tgsi/exec/tgsi_dump.c
index 0a47ad2a8c..315354198a 100755
--- a/src/mesa/pipe/tgsi/exec/tgsi_dump.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_dump.c
@@ -201,28 +201,22 @@ static const char *TGSI_INTERPOLATES_SHORT[] =
static const char *TGSI_SEMANTICS[] =
{
- "SEMANTIC_DEPTH",
- "SEMANTIC_COLOR0",
- "SEMANTIC_COLOR1",
- "SEMANTIC_COLOR0B",
- "SEMANTIC_COLOR1B",
"SEMANTIC_POSITION",
+ "SEMANTIC_COLOR",
+ "SEMANTIC_BCOLOR",
"SEMANTIC_FOG",
- "SEMANTIC_OTHER,"
- "SEMANTIC_TEX0",
+ "SEMANTIC_TEXCOORD",
+ "SEMANTIC_GENERIC,"
};
static const char *TGSI_SEMANTICS_SHORT[] =
{
- "DEPTH",
- "COLOR0",
- "COLOR1",
- "COLOR0B",
- "COLOR1B",
"POSITION",
+ "COLOR",
+ "BCOLOR",
"FOG",
- "OTHER",
- "TEX0"
+ "TEXCOORD",
+ "GENERIC",
};
static const char *TGSI_IMMS[] =