summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-09-01 14:16:53 -0700
committerKenneth Graunke <[email protected]>2010-09-01 20:39:09 -0700
commite466b182bbf21f62fe6542091f4af3275555db80 (patch)
tree453dc4208b6aa3ef878173c58871285b63cd1742 /src/glsl/ast_to_hir.cpp
parent4d6221f90df9d04e5edcdddb3b6f76c0cb175421 (diff)
glsl2: Remove unnecessary glsl_symbol_table::get_function parameter return_constructors
Now that constructors are not generated as functions or stored in the symbol table, there is no need to flag whether or not constructors should be returned.
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
-rw-r--r--src/glsl/ast_to_hir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 970ac0818e8..5bdf3da3676 100644
--- a/src/glsl/ast_to_hir.cpp
+++ b/src/glsl/ast_to_hir.cpp
@@ -2257,7 +2257,7 @@ ast_function::hir(exec_list *instructions,
* seen signature for a function with the same name, or, if a match is found,
* that the previously seen signature does not have an associated definition.
*/
- f = state->symbols->get_function(name, false);
+ f = state->symbols->get_function(name);
if (f != NULL && !f->is_builtin) {
sig = f->exact_matching_signature(&hir_parameters);
if (sig != NULL) {