`CommandQueue::with_vk_queue` now calls `f(&ash::Device, vk::Queue, u32)`. The
device is the serving generation's, read under the queue's lock with the
VkQueue. After a recovery the queue lends the new VkDevice's VkQueue. Until
now a caller could get the device only from `Device::raw` handles it had
cached, and after a recovery those name the lost VkDevice. The consumer's
copier did exactly that: it submitted command buffers from a pool made on the
lost device to the new device's queue, and the process died inside RADV
(a segfault at null+0x50 in libvulkan_radeon.so, right after our "VkDevice
was lost and made again" log). No call let it see the change atomically.
Every call site in the runtime, its examples and the validation lanes takes
the new argument. The runtime README's interop and "A lost device" sections,
`Device::raw`'s docs and docs/API.md's device-recovered entry say what the
closure gets. api_signatures.tsv is re-blessed (one signature changed).
Test: device_recovery::a_lent_queue_names_the_vk_device_it_belongs_to_across_a_recovery.
It reads the lent queue's device before and after recover_for_test. The two
differ, and the second equals what Device::raw answers after the recovery.
The test also asserts the old route is wrong: the raw handle cached before the
recovery differs from the lent queue's device after it. That cached handle was
the only source of the device under the old signature.
(cherry picked from commit b4bf228df9db98a451c997f350c6014b027f7e31)