mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
radv: Disable calibrated timestamps on Windows
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7793>
This commit is contained in:
parent
2e81ed2a47
commit
6992f5419a
3 changed files with 9 additions and 1 deletions
|
|
@ -8168,6 +8168,7 @@ VkResult radv_GetPhysicalDeviceCalibrateableTimeDomainsEXT(
|
|||
return vk_outarray_status(&out);
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
static uint64_t
|
||||
radv_clock_gettime(clockid_t clock_id)
|
||||
{
|
||||
|
|
@ -8275,6 +8276,7 @@ VkResult radv_GetCalibratedTimestampsEXT(
|
|||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
void radv_GetPhysicalDeviceMultisamplePropertiesEXT(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ EXTENSIONS = [
|
|||
Extension('VK_EXT_4444_formats', 1, True),
|
||||
Extension('VK_EXT_acquire_xlib_display', 1, 'VK_USE_PLATFORM_XLIB_XRANDR_EXT'),
|
||||
Extension('VK_EXT_buffer_device_address', 2, True),
|
||||
Extension('VK_EXT_calibrated_timestamps', 1, True),
|
||||
Extension('VK_EXT_calibrated_timestamps', 1, 'RADV_SUPPORT_CALIBRATED_TIMESTAMPS'),
|
||||
Extension('VK_EXT_conditional_rendering', 2, True),
|
||||
Extension('VK_EXT_conservative_rasterization', 1, 'device->rad_info.chip_class >= GFX9'),
|
||||
Extension('VK_EXT_custom_border_color', 12, True),
|
||||
|
|
|
|||
|
|
@ -100,6 +100,12 @@ typedef uint32_t xcb_window_t;
|
|||
#define RADV_SUPPORT_ANDROID_HARDWARE_BUFFER 0
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 0
|
||||
#else
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 1
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define radv_printflike(a, b)
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue