glsl: Don't add overloads to existing structure constructors.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 26 Aug 2010 00:10:16 +0000 (17:10 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 26 Aug 2010 16:19:48 +0000 (09:19 -0700)
commitac2376e6f51677ab321930b0200a79d1683cfbba
tree2894ed6e3488c17cf8b0a511fc01c50aa3a04856
parente09591317b2470fe9c104606577d4e10255727c0
glsl: Don't add overloads to existing structure constructors.

Instead, make a new ir_function and try to add it to the symbol table.

Fixes piglit test redeclaration-08.vert.
src/glsl/ast_to_hir.cpp
src/glsl/glsl_symbol_table.cpp
src/glsl/glsl_symbol_table.h