0f830c5572
RA is intended to dump the vir when register allocation fails, so it should be checked when we set c->compilation_result to FAILED_REGISTER_ALLOCATION. But it seems that this option was forgotten when on some of the refactorings around compilation_result, as was let on an old condition that reported register allocation failures. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35823>