Re: [Mesa-dev] [PATCH 05/19] gallium/tgsi: fix TGSI text parser

2012-08-13 Thread Jose Fonseca
I'm not familiar with this code in detail, but sound good to me. Jose - Original Message - > The problem was that the string matching succeeded e.g. for "2D" when > there > was actually "2D_MSAA" and then failed parsing "_MSAA". > > To prevent similar failures in the future, let's fix th

[Mesa-dev] [PATCH 05/19] gallium/tgsi: fix TGSI text parser

2012-08-09 Thread Marek Olšák
The problem was that the string matching succeeded e.g. for "2D" when there was actually "2D_MSAA" and then failed parsing "_MSAA". To prevent similar failures in the future, let's fix this kind of error everywhere. --- src/gallium/auxiliary/tgsi/tgsi_text.c | 174 ++-