anv: Wire up the new status check

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13427>
This commit is contained in:
Jason Ekstrand
2021-11-08 12:53:10 -06:00
parent e9662e0154
commit 236ca76376
4 changed files with 12 additions and 21 deletions

View File

@@ -420,7 +420,7 @@ wait_for_available(struct anv_device *device,
while (anv_gettime_ns() < abs_timeout) {
if (query_is_available(pool, query))
return VK_SUCCESS;
VkResult status = anv_device_query_status(device);
VkResult status = vk_device_check_status(&device->vk);
if (status != VK_SUCCESS)
return status;
}