Mesa (master): tgsi: Add STENCIL to text parser.

Chia-I Wu olv at kemper.freedesktop.org
Sun Nov 21 11:32:43 UTC 2010


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

Author: Chia-I Wu <olv at lunarg.com>
Date:   Sun Nov 21 18:36:41 2010 +0800

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 )) {

---

 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 b01d2ff..9a38c37 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] =




More information about the mesa-commit mailing list