anv: Check for device loss at the end of WaitForFences
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 27 Mar 2017 23:01:42 +0000 (16:01 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Apr 2017 01:33:51 +0000 (18:33 -0700)
commit82573d0f752f20f76cef773de01efda8a7cc0a31
tree746be24675342ed93347fe15211ed5d19fc370f6
parentc6f69eea6ac549fc2ffa46944de4dd82c9b53329
anv: Check for device loss at the end of WaitForFences

It's possible that the device could have been lost while we were
waiting.  We should let the user know if this has happened.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c