tgsi: use switches instead of big if/else ifs
authorBrian Paul <brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000 (09:29 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 8 Feb 2016 16:29:38 +0000 (09:29 -0700)
commitda6e879a6c6ea2ff13188fa9a179c7abcbf1e8c2
treec0ab027f444cb17a3a36285bafb06a8ac00c45aa
parent37eb3f040059888a857a24315c74d905c5ac7b5d
tgsi: use switches instead of big if/else ifs

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c