vulkan: add common KHR_calibrated_timestamps impl and migrate drivers over
With a new vk_device::get_timestamp
callback to get the device timestamp, most drivers can share a common implementation for VK_KHR_calibrated_timestamps
. Diffstats for drivers (radv, hk, tu, anv (partial), hasvk, nvk) are
11 files changed, 59 insertions(+), 469 deletions(-)
Only anv is tested. I am relying on the CI to test other drivers.