tgsi: clean up tgsi_scan_shader() function
authorBrian Paul <brianp@vmware.com>
Mon, 5 Aug 2013 14:19:36 +0000 (08:19 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Aug 2013 16:11:33 +0000 (10:11 -0600)
commit3e4b5c6c9c14b80964bb20dc882f59c19d6b6f9d
tree02cada12a3f1c52d2d6c6085903677409840487e
parent95829e202951b2532d72d20a1f5b4450b11de2c1
tgsi: clean up tgsi_scan_shader() function

Replace "fulldecl->Semantic.Name/Index" with semName/semIndex.
Simplify if/else logic for TGSI_FILE_OUTPUT code.
Remove old comment.
Fix indentation.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c