r300/compiler: Exit immediately from rc_vert_fc() if there is an error

This way we correctly report "Too many temporaries" errors.

https://bugs.freedesktop.org/show_bug.cgi?id=48680

Note: This is a candidate for the stable branches.
This commit is contained in:
Tom Stellard
2012-04-14 12:11:29 -04:00
parent 73249239cf
commit 0b59909e78
@@ -270,5 +270,9 @@ void rc_vert_fc(struct radeon_compiler *c, void *user)
}
break;
}
if (c->Error) {
return;
}
}
}