aboutsummaryrefslogtreecommitdiff
path: root/src/queue_context.cc
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 18:02:21 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2026-03-30 18:02:21 +1100
commit7b17b60786d00c592f0ef18c8481148143baacbd (patch)
tree42ea87f660b42149d805e25b38086c4da68d9a6e /src/queue_context.cc
parent22f8e5196508c7075493c246edb9cb9cad097c45 (diff)
Add nvidia spoofing via LOW_LATENCY_LAYER_SPOOF_NVIDIA=1
Diffstat (limited to 'src/queue_context.cc')
-rw-r--r--src/queue_context.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queue_context.cc b/src/queue_context.cc
index 1192bb6..437a183 100644
--- a/src/queue_context.cc
+++ b/src/queue_context.cc
@@ -76,6 +76,7 @@ void QueueContext::notify_submit(
void QueueContext::notify_present(const VkSwapchainKHR& swapchain,
const present_id_t& present_id) {
+
// Notify the device that this swapchain was just presented to.
// We're avoiding a double hash here - don't use operator[] and erase.
auto iter = this->unpresented_submissions.try_emplace(present_id).first;