anv: Wrap the device lost error in vk_error in QueueSubmit
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 May 2017 21:07:27 +0000 (14:07 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 May 2017 23:32:11 +0000 (16:32 -0700)
commit53f997de77357cd5fbeca3d167729793d188aab6
tree31bc374831a95bcc758a1478b181193b53f9a895
parent807e1d257707a37850a150d12a1d6878c3b13d5d
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>
src/intel/vulkan/anv_queue.c