diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:51:02 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-04-02 15:51:02 -0700 |
commit | c35bb00130a3f400af1ab9c5eff555c4f9e143d2 (patch) | |
tree | 65a45a35fe0dc03c8ec026468546115b3225a2bf /ir_function.cpp | |
parent | cf37c9e8dad4349e45cb91d36957484fd76ce264 (diff) |
Ensure that 'in' and 'inout' formal parameters are valid lvalues
This causes the following tests to pass:
glslparsertest/shaders/function10.frag
Diffstat (limited to 'ir_function.cpp')
-rw-r--r-- | ir_function.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ir_function.cpp b/ir_function.cpp index 4d24639..a8b73f1 100644 --- a/ir_function.cpp +++ b/ir_function.cpp @@ -126,13 +126,10 @@ parameter_lists_match(exec_list *list_a, exec_list *list_b) break; case ir_var_out: - /* FINISHME: Make sure that actual is a valid lvalue. */ score = type_compare(actual->type, param->type); break; case ir_var_inout: - /* FINISHME: Make sure that actual is a valid lvalue. */ - /* Since there are no bi-directional automatic conversions (e.g., * there is int -> float but no float -> int), inout parameters must * be exact matches. |