mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
anv: Wrap the device lost error in vk_error in QueueSubmit
We weren't wrapping this before because anv_cmd_buffer_execbuf may throw a more meaningful error message. However, we do change the error code into VK_ERROR_DEVICE_LOST, so we should print a new message. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
807e1d2577
commit
53f997de77
1 changed files with 1 additions and 1 deletions
|
|
@ -213,7 +213,7 @@ out:
|
|||
* VK_ERROR_DEVICE_LOST to ensure that clients do not attempt to
|
||||
* submit the same job again to this device.
|
||||
*/
|
||||
result = VK_ERROR_DEVICE_LOST;
|
||||
result = vk_errorf(VK_ERROR_DEVICE_LOST, "vkQueueSubmit() failed");
|
||||
device->lost = true;
|
||||
|
||||
/* If we return VK_ERROR_DEVICE LOST here, we need to ensure that
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue