summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-21 18:36:41 +0800
committerChia-I Wu <[email protected]>2010-11-21 19:26:29 +0800
commitf90524a01bc159cde09a50ebdb8c5b5b7c4b9895 (patch)
treebbe9bd33ba74b0df85a879f1edd2645273863f08
parent8bea7776a3590a3e469a81fcce345194eb92ccf2 (diff)
tgsi: Add STENCIL to text parser.
Fix OpenVG "filter" demo Program received signal SIGSEGV, Segmentation fault. 0xb7153dc9 in str_match_no_case (pcur=0xbfffe564, str=0x0) at tgsi/tgsi_text.c:86 86 while (*str != '\0' && *str == uprcase( *cur )) {
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_text.c3
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 b01d2ff4689..9a38c37979c 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_text.c
@@ -1007,7 +1007,8 @@ static const char *semantic_names[TGSI_SEMANTIC_COUNT] =
"FACE",
"EDGEFLAG",
"PRIM_ID",
- "INSTANCEID"
+ "INSTANCEID",
+ "STENCIL"
};
static const char *interpolate_names[TGSI_INTERPOLATE_COUNT] =