Fixes CorrectFuncOverload.frag.
exec_list_iterator iter_b = list_b->iterator();
while (iter_a.has_next()) {
+ ir_variable *a = (ir_variable *)iter_a.get();
+ ir_variable *b = (ir_variable *)iter_b.get();
+
/* If all of the parameters from the other parameter list have been
* exhausted, the lists have different length and, by definition,
* do not match.
/* If the types of the parameters do not match, the parameters lists
* are different.
*/
- /* FINISHME */
-
+ if (a->type != b->type)
+ return false;
iter_a.next();
iter_b.next();