Skip to content

vulkan: add common KHR_calibrated_timestamps impl and migrate drivers over

Chia-I Wu requested to merge olv/mesa:vk-timestamp into main

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.

Merge request reports

Loading