From 4ab8c7b97ea513e209705907afce9852934a7d86 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Thu, 26 Mar 2026 19:50:19 +1100 Subject: Implement QueueNotifyOutOfBandNV, SetLatencySleepModeNV - also some bookkeeping --- src/queue_context.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/queue_context.cc') diff --git a/src/queue_context.cc b/src/queue_context.cc index 29dcbfb..d12f03d 100644 --- a/src/queue_context.cc +++ b/src/queue_context.cc @@ -157,21 +157,20 @@ void QueueContext::notify_present(const VkPresentInfoKHR& info) { this->drain_submissions_to_frame(); this->drain_frames_to_timings(); - // Call up to notify the device now that we're done with this frame. - // We have to do this because antilag 2 data is sent to the device, not - // any particular queue. - this->device_context.notify_queue_present(*this); - // We should only sleep in present if two conditions are met: // 1. Our antilag_mode isn't set to on, because otherwise the sleep will // be done in input and with far better results. // 2. The 'is_antilag_1_enabled' flag, which exists at the layer's // context, is set. + // + /* + * WIP REFLEX if (this->device_context.antilag_mode != VK_ANTI_LAG_MODE_ON_AMD && this->device_context.instance.layer.is_antilag_1_enabled) { this->sleep_in_present(); } + */ } const auto debug_log_time2 = [](auto& stream, const auto& diff) { -- cgit v1.2.3