aco: Fix warnings about unsafe integer/bool mix

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7785>
This commit is contained in:
James Park
2020-11-26 21:31:30 -08:00
committed by Marge Bot
parent fcd53bebe6
commit e352ebf88e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ struct wait_ctx {
for (unsigned i = 0; i < storage_count; i++) {
changed |= barrier_imm[i].combine(other->barrier_imm[i]);
changed |= other->barrier_events[i] & ~barrier_events[i];
changed |= (other->barrier_events[i] & ~barrier_events[i]) != 0;
barrier_events[i] |= other->barrier_events[i];
}