glsl: Track structs' ast_type_specifiers in symbol table.
authorMatt Turner <mattst88@gmail.com>
Tue, 25 Jun 2013 07:27:41 +0000 (00:27 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 12 Jul 2013 03:58:59 +0000 (20:58 -0700)
commit5df807b06f20d53063af9cfc5b4fc867f5fb810a
treee8c2430f713720db16831690e0b1ba5cbb927aec
parente641b5fbeeff6b8391de4c854c6456eac691b1b5
glsl: Track structs' ast_type_specifiers in symbol table.

Will be used in a future commit. An ast_type_specifier is stored (rather
than an ast_struct_specifier) with the idea that we may have more
general uses for this in the future. struct names are prefixed with
'#ast.' to avoid collisions with the glsl_types in the symbol table.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/glsl_symbol_table.cpp
src/glsl/glsl_symbol_table.h