Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/mesa-dri/files/patch-src_amd_vulkan_radv__device.c
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
- Define CLOCK_MONOTONIC_RAW if missing | |||||
--- src/amd/vulkan/radv_device.c.orig 2018-11-06 16:16:02 UTC | |||||
+++ src/amd/vulkan/radv_device.c | |||||
@@ -50,6 +50,14 @@ | |||||
#include "util/debug.h" | |||||
#include "util/mesa-sha1.h" | |||||
+#ifndef CLOCK_MONOTONIC_RAW | |||||
+# ifdef CLOCK_MONOTONIC_FAST | |||||
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC_FAST | |||||
+# else | |||||
+# define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC | |||||
+# endif | |||||
+#endif | |||||
+ | |||||
static int | |||||
radv_device_get_cache_uuid(enum radeon_family family, void *uuid) | |||||
{ |