radv: move RADV_SUPPORT_CALIBRATED_TIMESTAMPS to radv_physical_device.c
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28568>
This commit is contained in:
committed by
Marge Bot
parent
cc1526eeac
commit
e25882352b
@@ -57,6 +57,12 @@ typedef void *drmDevicePtr;
|
||||
#include "ac_llvm_util.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 0
|
||||
#else
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 1
|
||||
#endif
|
||||
|
||||
static bool
|
||||
radv_perf_query_supported(const struct radv_physical_device *pdev)
|
||||
{
|
||||
|
||||
@@ -113,12 +113,6 @@ extern "C" {
|
||||
#define RADV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 0
|
||||
#else
|
||||
#define RADV_SUPPORT_CALIBRATED_TIMESTAMPS 1
|
||||
#endif
|
||||
|
||||
/* The "RAW" clocks on Linux are called "FAST" on FreeBSD */
|
||||
#if !defined(CLOCK_MONOTONIC_RAW) && defined(CLOCK_MONOTONIC_FAST)
|
||||
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST
|
||||
|
||||
Reference in New Issue
Block a user