gallium/tgsi: fix TGSI text parser
authorMarek Olšák <maraeo@gmail.com>
Sat, 4 Aug 2012 17:11:44 +0000 (19:11 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 15 Aug 2012 17:20:57 +0000 (19:20 +0200)
commitba53573a8b14a7ab41307a38710610611dfa1cc5
treede90fcd0f36e8d488d1270549d080084de186444
parentb7c4ee21c53a73d84e352d6f3db2547f6434d14e
gallium/tgsi: fix TGSI text parser

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