mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aco: minor CounterMap::operator== fix
I don't think this matters for how we use CounterMap::operator==. The BITSET_TEST() was unnecessary because of the BITSET_EQUAL above. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30478>
This commit is contained in:
parent
f5b871f825
commit
9ab0c4b047
1 changed files with 1 additions and 3 deletions
|
|
@ -240,9 +240,7 @@ public:
|
|||
|
||||
unsigned i;
|
||||
BITSET_FOREACH_SET (i, other.resident, Size) {
|
||||
if (!BITSET_TEST(resident, i))
|
||||
return false;
|
||||
if (val[i] + base != other.val[i] + other.base)
|
||||
if (MIN2(val[i] + base, Max) != MIN2(other.val[i] + other.base, Max))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue