Use separate namespaces for types, variables, and functions
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 22:34:13 +0000 (15:34 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Mar 2010 22:34:13 +0000 (15:34 -0700)
commit38395c1aad82abdeecbd66bca8daaa6f431c920c
tree93f83b8840114b352fb70efd2f43dacb77217d9f
parent95517faf6931765408c697e3d60e4469616ad1d3
Use separate namespaces for types, variables, and functions

This will allow types and their constructors to be easily stored in
the same symbol table.  This does add a potential problem that a
shader could declare a variable and a function with the same name.
This appears to be forbidden by the GLSL spec.
glsl_symbol_table.h