aco/ra: Add utility to clear PhysRegInterval
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37381>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user