anv: Return VK_ERROR_DEVICE_LOST from anv_device_set_lost
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 13:32:39 +0000 (08:32 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 26 Oct 2018 18:27:21 +0000 (13:27 -0500)
commit07eb8e74664f47ebd8d89e92311ca984542088fd
treeced23fd1c08a8f06bd7b57e4f428bda843706d5a
parentade22ae1ace051422b972ef057e57aab6fdfa024
anv: Return VK_ERROR_DEVICE_LOST from anv_device_set_lost

This lets us get rid of a bunch of duplicated error messages.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_queue.c
src/intel/vulkan/genX_query.c