radv: anv: Use the new vk_clock_gettime and vk_time_max_deviation
authorIgor Torrente <igor.torrente@collabora.com>
Mon, 29 Aug 2022 17:29:31 +0000 (14:29 -0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 2 Sep 2022 00:54:24 +0000 (00:54 +0000)
commita0b08e28588618d0c111e8ed695fdbdc6fc2ff07
tree534960103d6de3592402803c805251511b278a80
parent8c73b37e59ca554b920bfad1070d5571c18d74fb
radv: anv: Use the new vk_clock_gettime and vk_time_max_deviation
functions

Removes the duplicated code and start using the new common
code.

v2: split anv/radv parts to separate commits

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (v1)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> (v1)
Signed-off-by: Igor Torrente <igor.torrente@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18281>
src/amd/vulkan/radv_device.c
src/intel/vulkan/anv_device.c