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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user