diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-03-30 15:54:10 +1100 |
| commit | 644bc4ed5edd4e3ffa88750bdacb147c75df9546 (patch) | |
| tree | 5580f05b202493ccb68d5c67ec37e10d53f3cd1d /src/device_clock.cc | |
| parent | 681bd5096ee416b50dd7338de30af7b3db385a36 (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.cc | 3 |
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)); |
