aboutsummaryrefslogtreecommitdiff
path: root/src/device_clock.cc
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 15:54:10 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 15:54:10 +1100
commit644bc4ed5edd4e3ffa88750bdacb147c75df9546 (patch)
tree5580f05b202493ccb68d5c67ec37e10d53f3cd1d /src/device_clock.cc
parent681bd5096ee416b50dd7338de30af7b3db385a36 (diff)
Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool
Diffstat (limited to 'src/device_clock.cc')
-rw-r--r--src/device_clock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device_clock.cc b/src/device_clock.cc
index 52c86d3..8e0e408 100644
--- a/src/device_clock.cc
+++ b/src/device_clock.cc
@@ -1,5 +1,6 @@
#include "device_clock.hh"
#include "device_context.hh"
+#include "helper.hh"
#include <vulkan/vulkan_core.h>
@@ -37,7 +38,7 @@ void DeviceClock::calibrate() {
};
auto calibrated_result = CalibratedResult{};
- THROW_NON_VKSUCCESS(device.vtable.GetCalibratedTimestampsKHR(
+ THROW_NOT_VKSUCCESS(device.vtable.GetCalibratedTimestampsKHR(
device.device, 2, std::data(infos), &calibrated_result.device,
&this->error_bound));