From 36c52644fa69e55e230a4c1631cce8bf273ea24f Mon Sep 17 00:00:00 2001 From: Yiwei Zhang Date: Mon, 15 Dec 2025 21:16:26 -0800 Subject: [PATCH] venus: use vk_common_GetPhysicalDeviceCalibrateableTimeDomainsKHR Only host domains are conditional, and they are checked with the common vk_device_get_timestamp helper. Part-of: --- src/virtio/vulkan/vn_physical_device.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/virtio/vulkan/vn_physical_device.c b/src/virtio/vulkan/vn_physical_device.c index 31b4f7bd0fd..4575f7dc50d 100644 --- a/src/virtio/vulkan/vn_physical_device.c +++ b/src/virtio/vulkan/vn_physical_device.c @@ -3014,20 +3014,6 @@ vn_GetPhysicalDeviceExternalSemaphoreProperties( } } -VKAPI_ATTR VkResult VKAPI_CALL -vn_GetPhysicalDeviceCalibrateableTimeDomainsKHR( - VkPhysicalDevice physicalDevice, - uint32_t *pTimeDomainCount, - VkTimeDomainKHR *pTimeDomains) -{ - struct vn_physical_device *physical_dev = - vn_physical_device_from_handle(physicalDevice); - struct vn_ring *ring = physical_dev->instance->ring.ring; - - return vn_call_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( - ring, physicalDevice, pTimeDomainCount, pTimeDomains); -} - VKAPI_ATTR VkResult VKAPI_CALL vn_GetPhysicalDeviceCooperativeMatrixPropertiesKHR( VkPhysicalDevice physicalDevice,