From: Chia-I Wu Date: Sun, 21 Nov 2010 10:36:41 +0000 (+0800) Subject: tgsi: Add STENCIL to text parser. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f90524a01bc159cde09a50ebdb8c5b5b7c4b9895;p=mesa.git 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 )) { --- 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] =