anv: Set fence/semaphore types to NONE in impl_cleanup
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 26 May 2018 19:08:22 +0000 (12:08 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Jun 2018 16:46:45 +0000 (09:46 -0700)
commit237c5ac4f9748d254aa4c5428fec44cf753bc47d
tree52d48f9138667f1861bbb8c0e731cdad6402b0a8
parent3ba16d640e8ae1b3f34dcb1254f169fb1ccb1dba
anv: Set fence/semaphore types to NONE in impl_cleanup

There were some places that were calling anv_semaphore_impl_cleanup and
neither deleting the semaphore nor setting the type back to NONE.  Just
set it to NONE in impl_cleanup to avoid these issues.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106643
Fixes: 031f57eba "anv: Add a basic implementation of VK_KHX_external..."
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_queue.c