zink: assume fence has already completed if a batch state isn't found
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 29 Mar 2021 03:34:28 +0000 (23:34 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 30 Mar 2021 15:12:58 +0000 (15:12 +0000)
commitf9ee9c4539d93f9aeb564cf54f23074f60338d9c
treef668d78b5a1fee2e011815a2bfb95c86c4ab2274
parent03946bfcdd881b62eff254a68a08a7a35d79f6cd
zink: assume fence has already completed if a batch state isn't found

we're not going to be waiting on fences from the future, so if we can't
find a fence then it must have completed

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9885>
src/gallium/drivers/zink/zink_context.c