tgsi/scan: turn a huge if-else-if.. chain into a switch statement
authorMarek Olšák <marek.olsak@amd.com>
Sat, 5 Nov 2016 17:21:57 +0000 (18:21 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 8 Nov 2016 16:56:42 +0000 (17:56 +0100)
commitbdd48e47c094c03cd0646d1b69af0a95257c6793
tree3b17698097c96908788f8d27f6b6efb0b0724325
parentf864547fa92262f4b2c65a047210ee41e5b45e9a
tgsi/scan: turn a huge if-else-if.. chain into a switch statement

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c