aco/ra: Skip blocked regs in get_reg_impl

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37381>
This commit is contained in:
Natalie Vock 2025-02-17 18:42:47 +01:00 committed by Marge Bot
parent 7ed1aea9c5
commit d4013e7432

View file

@ -1487,7 +1487,7 @@ get_reg_impl(ra_ctx& ctx, const RegisterFile& reg_file, std::vector<parallelcopy
}
continue;
}
if (is_precolored[j & 0xFF]) {
if (is_precolored[j & 0xFF] || reg_file[j] == 0xFFFFFFFF) {
found = false;
break;
}