mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
aco/ra: Add utility to clear PhysRegInterval
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37381>
This commit is contained in:
parent
f0c613765c
commit
642b1f0dce
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue