Hi, i found a tgsi bug running vega state tracker. The bug happens because in tgsi_text.c line 991: for (i = 0; i < TGSI_SEMANTIC_COUNT; i++)
TGSI_SEMANTIC_COUNT is bigger than semantic_name declared in tgsi_text.c: 936 static const char *semantic_names[TGSI_SEMANTIC_COUNT] = 937 { 938 "POSITION", 939 "COLOR", 940 "BCOLOR", 941 "FOG", 942 "PSIZE", 943 "GENERIC", 944 "NORMAL", 945 "FACE", 946 "PRIM_ID" 947 }; TGSI_SEMANTIC_COUNT is 10 but there is just 8 elements seeing other files i see that there is missing semantic name: EDGEFLAG. The patch below add EDGEFLAG in semantic_names. diff --git a/src/gallium/auxiliary/tgsi/tgsi_text.c b/src/gallium/auxiliary/tgsi/tgsi_text.c index 2e3f9a9..9fcffed 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_text.c +++ b/src/gallium/auxiliary/tgsi/tgsi_text.c @@ -932,6 +932,7 @@ static const char *semantic_names[TGSI_SEMANTIC_COUNT] = "GENERIC", "NORMAL", "FACE", + "EDGEFLAG", "PRIM_ID" }; ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev