zink: use vkGetFenceStatus when we're obviously checking for status
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 29 Sep 2020 19:25:47 +0000 (15:25 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Feb 2021 04:32:25 +0000 (04:32 +0000)
commit31dd0a4a1e509c7cfbdf2cc015a89d58ffbdc896
treee64f4ccd08713e61040308970feb4bd4148e6bc3
parent79861e3d88b5e1edb47cf412908ff0053b5b8736
zink: use vkGetFenceStatus when we're obviously checking for status

a timeout of 0 indicates that gallium wants to know whether a fence is done,
so we can use a simpler call here

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