tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE
authorBrian Paul <brianp@vmware.com>
Fri, 10 Jul 2009 21:41:26 +0000 (15:41 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 10 Jul 2009 21:41:26 +0000 (15:41 -0600)
commitf01af4dbd26bec433cde08d011a5101edd7d83be
tree62c790a36990c1784bcde5502dc814d84f65b7cb
parent762c1d11ffbb5179e44117397559e7cc2dfe9cef
tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACE

Fixes TGSI dump output when front/back-face register is declared.

Also, add some assertions to make sure the semantic/interpolate string
arrays have as many elements as there are tokens in the p_shader_tokens.h
file.  That should catch problems like this in the future.
src/gallium/auxiliary/tgsi/tgsi_dump.c