From 644bc4ed5edd4e3ffa88750bdacb147c75df9546 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Mon, 30 Mar 2026 15:54:10 +1100 Subject: Fix AL2 via VK_NV_low_latency2's async implementation, fix race in TimestampPool --- src/device_clock.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/device_clock.cc') 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 @@ -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)); -- cgit v1.2.3