aco/ra: Add utility to clear PhysRegInterval

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 f0c613765c
commit 642b1f0dce

View file

@ -356,6 +356,10 @@ public:
fill(start, rc.size(), 0xFFFFFFFF);
}
void block(PhysRegInterval interval) { fill(interval.lo(), interval.size, 0xFFFFFFFF); }
void clear(PhysRegInterval interval) { fill(interval.lo(), interval.size, 0); }
bool is_blocked(PhysReg start) const
{
if (regs[start] == 0xFFFFFFFF)