diff options
author | Ian Romanick <[email protected]> | 2010-07-15 13:09:25 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-07-19 14:50:43 -0700 |
commit | b95897b89d36a25c237a021c299a4eb295856476 (patch) | |
tree | f9a84c434264bf90442ef986b7150fba7ede5433 /src/glsl/ir.h | |
parent | de415b7f4b1278f10097f4af80886bc82912dd92 (diff) |
glsl2: Explicitly walk lists in ir_function::parameter_lists_match
Give ir_function::parameter_lists_match_exist similar treatment. Make
the parameters const, and propogate the constness as far as it will
trivially go.
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index ff91a8dbce3..1d667be89c0 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -398,13 +398,13 @@ public: * Find a signature that matches a set of actual parameters, taking implicit * conversions into account. */ - ir_function_signature *matching_signature(exec_list *actual_param); + ir_function_signature *matching_signature(const exec_list *actual_param); /** * Find a signature that exactly matches a set of actual parameters without * any implicit type conversions. */ - ir_function_signature *exact_matching_signature(exec_list *actual_ps); + ir_function_signature *exact_matching_signature(const exec_list *actual_ps); /** * Name of the function. |