crocus: fix off-by-one error when clearing stale syncobjs
authorNicholas Bishop <nicholasbishop@google.com>
Mon, 24 Oct 2022 19:29:04 +0000 (15:29 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 25 Oct 2022 00:47:39 +0000 (00:47 +0000)
commit7cca889ecd82668eda6c7e03956b2a974d8faae7
tree4d8a8c30942a26093376ed7ae6c477a95f43418d
parent977dbfc9decf35584129d08f5912579f5ab4759b
crocus: fix off-by-one error when clearing stale syncobjs

This is the same fix as commit 1311eddd526 ("iris: fix off-by-one error
when clearing stale syncobjs"), but for crocus.

Signed-off-by: Nicholas Bishop <nicholasbishop@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19282>
src/gallium/drivers/crocus/crocus_fence.c