Mesa (master): tgsi: Add missing semantic name in text parser.

Chia-I Wu olv at kemper.freedesktop.org
Mon Jan 18 04:00:54 UTC 2010


Module: Mesa
Branch: master
Commit: 3b71386426b96c447248bc6102c6ff6182f65431
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3b71386426b96c447248bc6102c6ff6182f65431

Author: Chia-I Wu <olvaffe at gmail.com>
Date:   Fri Jan 15 17:59:16 2010 +0800

tgsi: Add missing semantic name in text parser.

This time, INSTANCEID is missing...

---

 src/gallium/auxiliary/tgsi/tgsi_text.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c
index 9fcffed..7fe5dad 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -933,7 +933,8 @@ static const char *semantic_names[TGSI_SEMANTIC_COUNT] =
    "NORMAL",
    "FACE",
    "EDGEFLAG",
-   "PRIM_ID"
+   "PRIM_ID",
+   "INSTANCEID"
 };
 
 static const char *interpolate_names[TGSI_INTERPOLATE_COUNT] =




More information about the mesa-commit mailing list