diff options
author | Kenneth Graunke <[email protected]> | 2010-08-25 17:10:16 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-08-26 09:19:48 -0700 |
commit | ac2376e6f51677ab321930b0200a79d1683cfbba (patch) | |
tree | 2894ed6e3488c17cf8b0a511fc01c50aa3a04856 /src/glsl/glsl_symbol_table.h | |
parent | e09591317b2470fe9c104606577d4e10255727c0 (diff) |
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.
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
-rw-r--r-- | src/glsl/glsl_symbol_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_symbol_table.h b/src/glsl/glsl_symbol_table.h index d71be5578be..c90fdc3c1d9 100644 --- a/src/glsl/glsl_symbol_table.h +++ b/src/glsl/glsl_symbol_table.h @@ -109,7 +109,7 @@ public: /*@{*/ ir_variable *get_variable(const char *name); const glsl_type *get_type(const char *name); - ir_function *get_function(const char *name); + ir_function *get_function(const char *name, bool return_constructors = true); /*@}*/ private: |