diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-26 19:50:19 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-26 19:50:19 +1100 |
| commit | 4ab8c7b97ea513e209705907afce9852934a7d86 (patch) | |
| tree | 558b7e5316de7c6cd1f15ee0920dfb3ea815fd92 /src/queue_context.cc | |
| parent | 7810f837b3cfa7dc45f360282cd1cafb2c3e6ca6 (diff) | |
Implement QueueNotifyOutOfBandNV, SetLatencySleepModeNV - also some bookkeeping
Diffstat (limited to 'src/queue_context.cc')
| -rw-r--r-- | src/queue_context.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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) { |
